When describing digital images, gray-level resolution is a term that refers to the number of shades of gray utilized in preparing the image for display. Digital images having higher gray-level resolution are composed with a larger number of gray shades and are displayed at a greater bit depth than those of lower gray-level resolution.
This interactive tutorial explores variations in digital image gray-level resolution, and how these variations affect the appearance of the image. The tutorial initializes with a randomly selected specimen (imaged in the microscope) appearing in the left-hand window entitled Specimen Image. Each specimen name includes, in parentheses, an abbreviation designating the contrast mechanism employed in obtaining the image. The following nomenclature is used: (FL), fluorescence; (BF), brightfield; (DF), darkfield; (PC), phase contrast; (DIC), differential interference contrast (Nomarski); (HMC), Hoffman modulation contrast; and (POL), polarized light. Visitors will note that specimens captured using the various techniques available in optical microscopy behave differently during image processing in the tutorial.
Adjacent to the Specimen Image window is a Current Resolution window that displays the captured image at various gray-level resolutions that are adjustable with the Grayscale Bit Depth slider. To operate the tutorial, select an image from the Choose A Specimen pull-down menu, and vary the gray-level resolution with the Grayscale Bit Depth slider. The number of bits utilized in the displayed image is presented directly above the slider, as is the total number of gray levels.
The gray-level resolution of a digital image is related to the gray-level intensity of the optical image and the accuracy of the digitizing device used to capture the optical image. The gray-level intensity of an optical image refers to the amount of light energy actually reflected from or transmitted through the physical specimen. The range of gray levels utilized in creating a digital image is known as the intrascene dynamic range of the image, and is a function of both the gray-level intensity of the optical image as magnified by the microscope and the accuracy of the camera system used to capture the image. This gray-level range is commonly represented by the image grayscale (intensity) histogram.
The optical image is captured by the camera in a process called sampling. The number of pixels contained in a digital image is governed by the distance between each pixel, termed the sampling interval, which is a function of the accuracy of the digitizing device. The numerical value of each pixel in the digital image represents the intensity of the optical image averaged over the sampling interval. In the sampling process, the gray-level intensity of each sample of the optical image is measured as an analog signal by the camera. Following the sampling process, each image sample is quantized from an analog signal into a digital brightness value by a device known as an Analog to Digital converter (or A/D converter). The accuracy of each digital value is dependent in part upon the number of bits available to the quantizer to represent the analog signal. The number of bits available to the quantizer determines the number of shades of gray that will be used to represent the brightness levels of the image.
In the tutorial, as the Grayscale Bit Depth slider is moved to the left, the number of bits used to display the image in the Current Resolution window decreases. The result is that the image begins to take on a mechanical appearance with significantly less detail. This phenomenon is termed gray-level contouring or posterization. Gray-level contouring becomes apparent in the background regions first, where gray levels tend to vary more gradually, and is indicative of inadequate gray-level resolution. For a majority of the typical applications in optical microscopy, 6- or 7-bit resolution is usually adequate for a visually pleasing digital image. The tutorial allows a maximum display of 7 bits because on most computers, a Web browser limits the displayed grayscale range to 5 or 6 bits, regardless of the computer screen resolution. Therefore, effects occurring in digital images at higher resolutions will not be apparent in the tutorial. However, for many quantitative applications in microscopy (such as high-resolution fluorescence), bit depths of 10, 12, or even higher (1024, 4096, or more gray levels), are necessary to capture and display all of the important specimen details. For this reason, it is often desirable to use the highest available camera resolution when capturing images in the microscope.
Image processing algorithms, such as background subtraction, compression, and histogram manipulation, which are often performed prior to display or printing can cause a loss of bit depth in the processed image. For applications requiring image deconvolution, feature classification, measurement, or other image analysis techniques, high bit depth is essential. X-ray imaging usually requires 12-bit gray-level resolution, due to the very fine differences in brightness that exist in these images, and optical densitometry involving high densities requires at least 12 to 14 bits. Because the number of bits available to the quantizing device is typically fixed, it is important to choose a digital camera or other digitizing device with brightness resolution that is adequate for the application.
Kenneth R. Spring - Scientific Consultant, Lusby, Maryland, 20657.
John C. Russ - Materials Science and Engineering Department, North Carolina State University, Raleigh, North Carolina, 27695.
Matthew J. Parry-Hill, Thomas J. Fellers, Laurence D. Zuckerman, John C. Long, and Michael W. Davidson - National High Magnetic Field Laboratory, 1800 East Paul Dirac Dr., The Florida State University, Tallahassee, Florida, 32310.
Questions or comments? Send us an email.
© 1998-2015 by Michael W. Davidson and The Florida State University. All Rights Reserved. No images, graphics, scripts, or applets may be reproduced or used in any manner without permission from the copyright holders. Use of this website means you agree to all of the Legal Terms and Conditions set forth by the owners.
This website is maintained by our