![]() |
||||||||||||||
![]() |
||||||||||||||
| Edition 10, September 2012 | ||||||||||||||
G-FAQ – Why is Bit Depth Important? Part 2For this month’s Geospatial Frequently Asked Question (G-FAQ), I continue the discussion started last month on bit depth and its impact on satellite imagery. In the first part of the series, I addressed the basics of the topic, including a discussion of binary versus base-10 numeric systems as well as the bit depth ordering options available for satellite imagery. In this second part, I focus on the operational side of bit depth by providing advice on how to work with 16-bit imagery in ArcGIS as well as an explanation of when to order 8-bit versus 16-bit satellite imagery. As a quick reminder, in this two-part G-FAQ series on bit depth, I answer this set of core questions: What exactly is bit depth and why is it important when ordering satellite imagery? Is 16-bit imagery harder to work with? When should I order 16-bit imagery versus 8-bit? And as a quick note, last month, we addressed the ordering options for satellite imagery bit depth as either 8-bit or 16-bit, as such we will continue this G-FAQ with those naming conventions even though the raw data is really 11 or 12-bit. One of the biggest differences you will notice right away when downloading and/or working with 16-bit satellite imagery is the file size. A 16-bit image file will be about twice the size of an 8-bit image. The next thing you may notice is that the 16-bit file is completely black (or perhaps a weird muted greenish-black) when you open it in many applications that do not automatically histogram stretch (also called color balance) raster files – including ArcGIS (pre-ArcGIS 10.1 at least) and Photoshop. A histogram stretch tells your computer what pixel values represent which color on your screen; and most true color screens only recognize values that are in 8-bit format. As such, a lookup table (LUT) needs to be created to tell your computer how to convert ‘raw’ 16-bit satellite imagery values to the 8-bit color (or pan – which is shades of grey, still a color technically speaking) values your screen uses. A histogram stretch then creates the LUT needed to view your 16-bit imagery properly, so let’s walk through this process in ArcGIS, a common geospatial tool most of us have access to and use regularly:
In this step, you will need to experiment with different stretch types that can be accessed in the pull-down menu under Stretch called, Type:. A percent clip is a common stretch applied to data though it can create an over-bright image – experiment with max-min clips from 0.1 to 1.5%. The standard deviations option is another common ArcMap stretch – experiment with ranges from n=1 to 4 – though this tends to look washed out. What you will often find is that there is no perfect ‘automated’ stretch in ArcMap and that a stretch that looks good in one location, might look awful somewhere else in the same imagery dataset. If you want complete control over the color balance process, you can check out the Histograms by pushing this button and altering the graphs for each the blue, green and red bands. As a final word to the wise, ArcMap does not always get it right when it reads in the spectral bands as it can choose the wrong band order to create a red, green and blue image. This will be obvious once you start experimenting with Step 4 above in that trees and buildings might appear purple or water brown. If you see this, experiment with different band combinations that you can access at the top of this menu chain, Properties -> Symbology -> RGB Composite. ![]() Click on the image above to see an animation showing several example histogram stretches using ArcMap 10.1 starting with no stretch, then a Maximum-Minimum stretch, a Standard Deviation stretch (n = 3.5) and finally a Percent Clip (max/min = 0.2%) stretch. The animation shows 50-cm natural color WorldView-2 imagery collected on September 10, 2011 over a rural section of the Yucatan Peninsula, Mexico. (Imagery Courtesy: DigitalGlobe)
To wrap up this discussion of bit depth and ordering of satellite imagery, here are some general guidelines on when to order 16-bit imagery and when to order 8-bit. When to Order 16-bit Satellite Imagery
When to Order 8-bit Satellite Imagery
As a final side note to this discussion, you may have noticed that this G-FAQ focused on bit depth and optical satellite imagery as opposed to bit depth in optical imagery products in general which would include data collected by aerial sensors. This was done purposely as most of the off-the-shelf aerial imagery products, such as DigitalGlobe’s 30-cm Precision Aerial Imagery is only provided in color balanced 8-bit depth format. In the cases where both 8-bit and 16-bit depth aerial products are available, many of the basic lessons and ordering tips presented in this G-FAQ series would apply. Until our next edition of G-FAQ, happy GIS-ing! Do you have an idea for a future G-FAQ? If so, let me know by email at brock@apollomapping.com.
Brock Adam McCarty |
||||||||||||||
|
||||||||||||||
![]() |
||||||||||||||