1 / 34

Digital Data

Digital Data. Digital Data Format and Storage. Learning Objectives. What are spatial data models and how do they differ? What data model commonly used for remotely sensed data and why? What are digital numbers (and what aren’t they!)?

pilis
Download Presentation

Digital Data

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Digital Data Digital Data Format and Storage

  2. Learning Objectives • What are spatial data models and how do they differ? • What data model commonly used for remotely sensed data and why? • What are digital numbers (and what aren’t they!)? • How do you translate DNs to units of light, or to reflectance? • Why should you be cautious about altering the original DNs in an image? • What are image bands? • How do we store image data on computers? • What are histograms, and what are some ways they are used? • What is contrast stretching?

  3. Spatial Data Models • What do we mean by a “spatial data model”? • What are the two main data models used to depict spatial data on computers (e.g., in GIS and remote sensing)

  4. Vector Data

  5. Raster Data (= grid or matrix)

  6. Remotely Sensed Data • Represent the amount of light reflecting off the ground and reaching the satellite sensor. • Continuous change from place to place, or not? • Often cover large areas (lots of data!) • Multiple images (bands) are collected simultaneously for each place in an image • What data model might be best for this image?

  7. Would this image lend itself to a different data model?

  8. Picture Elements • What is the common abbreviation for picture elements? • What shapes can be used? • What shape is most common?

  9. Raster Data • Imaginary matrix (row & column format) is placed on the feature (e.g., the ground) • Some phenomenon (e.g. amount of reflected light) is measured • A value (called a digital number or DN) representing the strength of the signal (amount of light) is assigned to each grid cell (pixel).

  10. Somewhere on earth

  11. Overlay raster grid

  12. 32 47 67 93 11 105 79 136 155 35 23 55 213 179 203 163 63 11 145 245 89 211 189 56 201 43 202 21 122 109 Assign DNs to pixels

  13. How are DNs assigned? • In remote sensing, the amount of light coming from a pixel depends (in part) on how much light reflects off the materials that fall within the pixel area on the ground. • Functionally, it is an average of the light reflecting from the various components. • But, it isnot reflectance! Why not? • What do you have to do to convert DNs to reflectance?? • Depending on the intensity of the light, a numeric DN is assigned to each pixel • Low or None - Lowest DN (0 is at bottom of scale) • High - Maximum value (depends on radiometric resolution) • Others - Scaled in between (number of possible increments depends on radiometric resolution)

  14. How do we keep track of pixel locations? • Images are presented as 2-d arrays (matrices). Each pixel has a location (x,y) in the array. • Position of pixel often described in terms of image rows and columns (called image coordinates) or map coordinates (e.g. latitude/longitude). F(2,3) F(4,1)

  15. Image Bands • You can think of image bands (also called channels and sometimes layers) as a collection of pictures taken simultaneously of the same place, each of which measures reflected light from a different part of the spectrum. • Together, image bands allow us to create spectral curves for each pixel.

  16. blue red green UV Near-infrared 0.4 0.5 0.6 0.7 Image Bands (or channels)

  17. How are images stored? • Many proprietary image file formats • Typically include 1) a header and 2) the image data themselves • Image data can be organized in several ways • Band Sequential (BSQ) • Band Interleaved by Line (BIL) • Band Interleaved by Pixel (BIP)

  18. 1 2 3 1 1 2 2 3 3 1 2 3 1 3 2 2 1 3 1 3 2 2 1 3 3 1 2 Example Band 1 Band 2 Band 3 3 bands, 9 pixels each

  19. 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 2 1 3 1 3 2 1 3 2 3 1 2 3 2 1 2 3 1 3 1 2 3 2 1 1 2 3 Case 1 • Band sequential (BSQ) format • Band #1 is stored first • Followed by #2, #3 • Bands are stored sequentially

  20. 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 2 1 3 1 3 2 1 3 2 3 1 2 3 2 1 2 3 1 3 1 2 3 2 1 1 2 3 Case 2 • BIL format • Line #1, band #1 is stored first • Followed by line #1, band #2 • Bands are inter-leaved by line

  21. 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 2 1 3 1 3 2 1 3 2 3 1 2 3 2 1 2 3 1 3 1 2 3 2 1 1 2 3 Case 3 • BIP format • Pixel #1, Line #1, band #1 is stored first • Followed by Pixel #1, line #1, band #2 • Bands are inter-leaved by PIXEL

  22. Histograms • A histogram is a graph showing the number of pixels in a single band corresponding to each possible DN. • We can use information in histograms for contrast stretching, atmospheric correction, statistical manipulations, and many other applications.

  23. # of pixels

  24. Contrast Stretching • Computer monitors have a range of brightness that they use to display images. • Unprocessed remotely sensed images often don’t use the full range. • Contrast stretching changes (sometimes just temporarily) the DNs to take advantage of the full range. • Usually best not to permanently change the DNs. Why?

  25. High Contrast Low Contrast

  26. Types of Contrast Stretches • Contrast stretches can be linear (DNs stretched evenly across the available range of values) • …or they can be nonlinear (some DNs changed more than others) • Within each of these are many different stretching algorithms. • Which you choose depends on what you are trying to see in an image. • Erdas and other image display software often applies a temporary contrast stretch automatically to make images looks crisp.

  27. Linear Contrast Stretch

  28. After Linear Stretch Before Linear Stretch

  29. Laramie Landsat 8 Image Linear stretch (min-max) Standard Deviation stretch Cuts off extremes and linearly stretches remaining pixels

  30. Non-linear Contrast Stretch

  31. Understanding the structure of images is crucial to understanding how to manipulate imagery to extract information.

More Related