Overview and introduction to measurements
Overview and Imatest measurements
Image quality is one of those concepts that’s greater than the sum of its parts. But you can’t ignore the parts if your goal is to produce images of the highest quality. Every image quality factor counts.
This page introduces the key image quality factors and briefly describes how Imatest™ measures them— with links to detailed pages. It is a guide to Imatest organized by image quality factors. Other guides include the Tour (organized by module) and Imatest documentation (the Table of Contents).
To illustrate the quality factors, we use this early morning image of Monument Valley from Hunt’s Mesa, near the Arizona-Utah border.
Image quality measurements are affected by the
- Lens — Imatest cannot measure lenses by themselves, but lenses can be effectively compared to one another using a single camera body with consistent image processing settings.
- Sensor — Imatest can measure the performance of the Lens+sensor from minimally-processed RAW images if they are available. Sharpness, distortion, vignetting, Lateral Chromatic Aberration, noise, and dynamic range are the principal factors that can be measured at this stage. Most of these measurements can be clearly classified as good/bad.
- Image processing pipeline— typically includes demosaicing, color correction, white balance, application of gamma and tonal response curves, sharpening, and noise reduction. Measured from the image delivered to the user (such as in-camera JPEG images). Additional image quality factors include tonal response (contrast, etc.), color response, and many others. The output of the pipeline may be compared to the minimally-processed lens+sensor measurements.The effect of the pipeline on subjective image quality can be highly scene- and application-dependent, making it difficult to assign “good” or “bad” rankings. Imatest results for these factors need to be interpreted carefully. Examples:
- Higher contrast images often score higher in visual quality assessment tests, but high contrast can cause clipping (visible as burnt-out highlights) in contrasty (often sunlit) scenes. Tonal response curves with “shoulders” can help. See Stepchart and Multicharts.
- Most consumers find accurate color to be boring, so camera manufacturers “enhance” colors in a number of ways, such as boosting chroma. See Colorcheck and Multicharts.
- Most consumers dislike noisy images, but software noise reduction (typically lowpass filtering in areas that lack contrasty features) can remove fine texture, resulting in a cartoon-like “plastic” skin appearance. See Log F-Contrast and Random/Dead Leaves.
|Blemishes, Sensor defects||plain, uniformly-illuminated surface||Blemish||Can be displayed on flat screen monitor with Screen Patterns. Opal diffusing glass recommended. Note |
|Color accuracy||X-Rite ColorChecker (24-patch)||Colorcheck, Multicharts, Multitest|
|ColorChecker SG, general mxn grids, and many other charts||Multicharts, Multitest||Note |
|Dynamic range, Tonal response, Contrast||Step charts||Stepchart, Multicharts, Multitest||Transmission charts such as the Imatest 36-Patch Dynamic Range chart or the Stouffer T4110 recommended for DR. Algorithm|
|Reflective step charts||Dynamic Range||More convenient for measuring DR than Stepchart because it doesn’t require a transmission chart.|
|Special charts: ISO-16067-1, QA-62, EIA Grayscale, ISO-14524
|Stepchart, Multicharts, Multitest||Note . Many are available from the Imatest Store.|
|ColorChecker, ColorChecker SG, IT8.7, Step Charts||Multicharts, Multitest|
|SFRplus, ISO 12233:2014 E-SFR||SFRplus, eSFR ISO||Does not measure DR. Highly automated. Measures several factors. Available from the Imatest Store.|
|Exposure accuracy||Step charts (reflective)||Stepchart, Multicharts, Multitest|
|X-Rite ColorChecker||Colorcheck, Multicharts, Multitest|
(closely related to
|Step charts||Stepchart||Two ISO sensitivity measurements are displayed when incident light (lux) is entered. Details in ISO Sensitivity and Exposure Index|
|Various color and step charts||Multicharts, Multitest|
|X-Rite ColorChecker||Colorcheck, Multicharts, Multitest|
|Lateral chromatic aberration||Slanted edge, ISO 12233 charts||SFR||Available from the Imatest Store. Note |
|SFRplus, ISO 12233:2014 E-SFR||Available from the Imatest Store. Note |
|Dot pattern||Dot Pattern||Available from the Imatest Store. Note |
|Lens distortion||Square or rectangular grid or checkerboard,||Distortion||Printable by Test Charts or displayed on LCD flat screen monitor with Screen Patterns.|
|SFRplus, ISO 12233:2014 E-SFR||SFRplus||Highly automated. Measures several factors. Results in the Image & Geometry display.|
|Dot pattern||Dot Pattern||Available from Imatest Store.|
|Light falloff, vignetting||Plain, uniformly-illuminated surface||Light Falloff||Can be displayed on flat screen monitor with Screen Patterns. Opal diffusing glass recommended.|
|SFRplus||SFRplus||Measures flat areas near slanted-edges. Best with low (4:1) contrast charts.|
|eSFR ISO||eSFR ISO||Measures noise from grayscale surrounding center of chart.|
|Wide variety of grayscale stepcharts and color charts||Multicharts||Works with a large variety of grayscale and color charts if patches are large enough. Can measure sensor (raw) noise.|
|Sharpness (MTF)||Slanted-edge, ISO 12233||SFR, Rescharts
||ISO 12233:2000 and 2014 charts available from Imatest Store. Edges printable by Test Charts. Algorithm|
|SFRplus, eSFR ISO||SFRplus, eSFR ISO||Highly automated. Measures several factors. Available from Imatest Store.|
|Other charts: Star, Spilled Coins, Wedge, etc.||Rescharts, Star, Log F-C, Random, Wedge…||Both interactive and fixed modules. Each responds differently to signal processing.|
|Texture detail||Log F-Contrast, Spilled Coins (Dead Leaves)||Log F-Contrast
|Veiling glare (lens flare)||Reflective Q-13 or Q-14 step chart with “black hole”||Stepchart||See Veiling Glare. Note |
|Color moiré||Log Frequency||Log Frequency, Wedge|
|Software artifacts||Log F-Contrast||Log F-Contrast||Notes [1,2]|
|Dmax (deepest black tone)||Custom test chart printed from file, scanned on profiled flatbed scanner||Print Test||Gamutvision extracts these properties from ICC profiles.|
Image quality factors for cameras and lenses
Sharpness is arguably the most important single image quality factor: it determines the amount of detail an image can convey. The image on the upper right illustrates the effects of reduced sharpness (from a Picture Window Pro blur operation).
Device or system sharpness is measured as a Spatial Frequency Response (SFR), also called Modulation Transfer Function (MTF). MTF is the contrast at a given spatial frequency (measured in cycles or line pairs per distance) relative to low frequencies. The 50% MTF frequency correlates well with perceived sharpness— much better than the old vanishing resolution measurement, which indicated where the detail wasn’t.
Sharpness and MTF are introduced in Sharpness: What is it and how is it measured?
The perceived sharpness of a print or display is measured by Subjective Quality Factor (SQF) or Acutance, which are derived from MTF, the Contrast Sensitivity Function of the human eye, and viewing conditions.
Imatest‘s primary sharpness measurement uses slanted-edge patterns analyzed by SFR, Slanted-edge SFR (a part of Rescharts), SFRplus, or eSFR ISO (the latter two are highly-automated), using targets you can purchase or print with the Imatest Test Charts module. Concise instructions are found in How to test lenses with Imatest.
Several alternative patterns, which cause cameras to apply differing amounts of sharpening and noise reduction, can be used for measuring MTF. All require more real estate than the slanted-edge. They include
The MTF Measurement Matrix compares the different methods.
System sharpness is affected by the lens (design and manufacturing quality, position in the image field, aperture, and (for zoom lenses) focal length), sensor (pixel count and anti-aliasing filter), and signal processing (especially sharpening and noise reduction). In the field, sharpness is affected by camera shake (a good tripod can be helpful), focus accuracy, and atmospheric disturbances (thermal effects and aerosols).
Some lost sharpness can be restored by sharpening, but sharpening has limits. It can’t restore detail where MTF is very low (under about 10%). Oversharpening, illustrated on the right, can also degrade image quality (especially at large magnifications) by causing “halos” to appear near contrast boundaries. Images from many compact digital cameras and phones are oversharpened.
|Original | Blurred
Original | Oversharpened
|Many consumer cameras, especially cameras with small image sensors or pixels (mobile imaging devices and point-and-shoots), have signal processing that varies over the image plane. Sharpening is applied near contrasty features (like edges), but noise reduction (lowpass filtering) is applied— often strongly— the absence of sharp features, resulting in loss of texture detail. Such cameras will perform well on slanted-edge tests while producing unsatisfactory images. To emphasize this we show a real camera phone image, where the window and shingles have been strongly sharpened, but texture in the pine shrubs has been completely lost.Imatest measures texture sharpness in two modules:
||Original | Processed|
Noise is a random variation of image density, visible as grain in film and pixel level variations in digital images. It arises from the effects of basic physics— the photon nature of light and the thermal energy of heat— inside image sensors and amplifiers.
Noise and its measurement are introduced in Noise in photographic images.
Noise is measured by several Imatest modules. Stepchart, Multicharts, and Multitest produce the most detailed results, but noise is also measured in Colorcheck, SFR, SFRplus, eSFR ISO, and Uniformity. ISO 15739 Visual Noise estimates the visual strength of noise using the noise spectrum, a model of the human visual system, and viewing conditions.
Noise scales strongly with pixel size. It can be very low in digital SLRs, which have pixels at least 4 microns square. But it can get ugly in compact digital cameras and camera phones with tiny sensors, especially at high ISO speeds or in dim light. It is also affected by sensor technology and manufacturing quality.
Software noise reduction (NR) reduces the visibility of noise by smoothing the image, excluding areas near contrasty boundaries. This technique works well, but it can obscure fine, low contrast detail. The Log Frequency-Contrast module clearly measures the effects of software noise reduction. The Random/Dead Leaves module uses a pattern that tends to maximize noise reduction (it’s the worst-case for noise reduction)— in contrast to the slanted-edge (the opposite limiting case), which tends to maximize sharpening and minimize noise reduction.
| Original | Noise added
original | clipped
Dynamic range (or exposure range) is the range of light levels a camera can capture, usually measured in f-stops, EV (exposure value), or zones (all factors of two in exposure). It is closely related to noise: high noise implies low dynamic range. It is also related to the tonal response— the relationship between light and pixel level (shown below). Contrast, also known as gamma, is the average slope of the tonal response curve. High contrast (shown on the right) usually involves loss of dynamic range— loss of detail, or clipping, in highlights or shadows— when the image is displayed. (Image files often have greater dynamic ranges than display media can reproduce.)
Dynamic range, tonal response, and gamma are measured (A) by Stepchart, Multicharts, or Multitest using a transmission step wedge with a maximum density range at least 3.4 (equivalent to 11.3 f-stops), or (B) by Dynamic Range, a postprocessor for Stepchart that uses results from up to four differently-exposed stepchart images. The latter technique is sometimes convenient because it can be used with reflective charts that don’t require a special light source in a darkened room.
Dynamic range is a strong function of pixel area, which is proportional to the number of electrons a pixel can store. It is invariably better in DSLRs (which have relatively large pixels; at least 4 microns square) than in compact digital cameras. It can be maximized by setting the camera at the lowest ISO speed.
Displaying images with large dynamic ranges (which can be well over 1000:1; 10 f-stops) can be problematic in reflective media, which has a maximum dynamic range of about 100:1 (a little over 6 f-stops; 200:1 at the absolute maximum). Reducing contrast can make the image look flat and dull. Some processing is usually required, like applying an “S” curve, tone mapping, or manually lightening or darkening portions of the image.
Flare light in lenses— light originating inside or outside the lens’s field of view that bounces around the lens interior— decreases dynamic range by fogging the image and obscuring shadow detail. Veiling glare is a good measurement of a lens’s susceptibility to flare light.
Original | Color-shifted
Whatever the application, it is important to measure a camera’s color response: its color shifts, saturation, and white balance effectiveness.
Color response is measured by Colorcheck, using the widely-available 24-patch X-Rite ColorChecker® and by Multicharts and Multitest using the 24-patch ColorChecker, ColorChecker SG, IT8.7, QPcard, and many other standard and custom charts. These charts may be included in scenes for white balance testing.
Color accuracy may be measured against standard chart reference values or CSV reference files that contain measured color values, which may be altered to reflect customer preferences. Measuring color patches is described here.
Color accuracy is affected by the Bayer color filter array and by the signal processing and white balance algorithm in the camera or RAW converter. Flare light (veiling glare) in lenses tends to reduce color saturation. Multicharts and Multitest can calculate a color correction matrix.
Lens distortion and coefficients for correcting it are calculated in the Distortion module, which contains 3rd order, 5th order and tangent/arctangent distortion models, and in Dot Pattern, which performs a CPIQ-compliant distortion measurement. SFRplus measures distortion in nearly as much detail as the Distortion module, along with sharpness and several other factors. SFRplus distortion results are in the Image, Geometry, Distortion, FoV and Radial distortion plots. eSFR ISO measures distortion with slightly less precision than SFRplus.
Distortion is worst in wide angle, telephoto, and zoom lenses. It often worse for close-up images than for images at a distance. It can be easily corrected in software. Picture Window Pro and PTLens have tools for removing it.
| Original | Barrel-distorted
Light falloff (vignetting) darkens images near the corners. It can be particularly strong with wide angle lenses. It is measured by Uniformity and Uniformity-Interactive (an interactive module designed to work with the Imatest Image Sensor edition).
Light falloff often improves when lenses are stopped down. It can be easily corrected in software or in the image processing pipeline. Picture Window Pro, PTLens, and several other programs have tools for removing it. Because moderate amounts of light falloff can be pictorially pleasing, it’s not always advisable to remove it completely.
Uniformity also measures other sensor nonuniformities, including color shading (nonuniformity), stuck pixels, local sensitivity variations, spots (from dust), and noise. It has a particularly rich set of displays in Imatest Master and IS.
| Original | Vignetted
Blemishes are visible spots or marks in the image, caused by sensor defects or by dust in front of the sensor (typically separated by the Bayer, anti-aliasing, and infrared (IR) filters). They are extremely important in manufacturing. They are measured by Blemish Detect (Imatest Master and IS-only).
Blemish Detect filters the image using a transfer function derived from the Contrast Sensitivity Function of the Human Visual System. Because of this, when filter parameters are set up properly, visible blemishes will be flagged and blemishes beneath the threshold of visibility will be ignored. This can significantly improve manufacturing yields.
| Original | Blemishes
Exposure accuracy is not much of a problem with manually-adjustable cameras where it can be easily determined (with the help of the histogram), and fixed using exposure compensation.
But exposure accuracy can be an issue with fully automatic cameras and with video cameras that offer little opportunity for post-exposure tonal adjustment.
Exposure accuracy can be measured by photographing a scene that includes any test chart with a grayscale pattern and analyzing it with Stepchart (for grayscale stepchart-only patterns such as the Q-13/Q-14), Colorcheck (for the X-Rite Colorchecker) or Multicharts or Multitest (for any chart with a grayscale pattern).
ISO Sensitivity (closely related to exposure accuracy) is a measure of a camera’s sensitivity to light. Imatest modules that analyze step charts (which may be included in color charts) display two measures of sensitivity when the incident light in Lux is entered. Details in ISO Sensitivity and Exposure Index
| Original | Overexposed
Lateral chromatic aberration (LCA), also called “color fringing” is a lens aberration that causes colors to focus at different distances from the image center. It is most visible near corners of images. It is explained in Chromatic aberration.
LCA is worst with asymmetrical lenses, including ultrawides, true telephotos and zooms. It is strongly affected by demosaicing. It can be fully corrected in software prior to demosaicing, but only partially corrected afterwards. Picture Window Pro has a fairly effective transformation. In the future, information provided by Imatest (detailed LCA profiles) may improve the degree of correction.
| Original | Color-fringed
Veiling glare is stray light in lenses and optical systems caused by reflections between lens elements and the inside barrel of the lens. It predicts the severity of lens flare— image fogging (loss of shadow detail and color) as well as “ghost” images— that can occur in the presence of bright light sources in or near the field of view. (It does not measure the ghosts in detail.)
Veiling glare is measured by Stepchart using a standard Kodak Q-13 or Q-14 step chart mounted beside a “black hole,” i.e., a box lined with black behind a small opening, mounted on a large white board, as described in detail in Veiling glare.
Veiling glare can only be measured reliably with RAW images, preferably decoded with gamma = 1, because image processing (especially conversion to sRGB color space) can affect the “toe” region of the tonal response curve, which is critical to veiling glare measurements. Special care must be taken to distinguish pixel offsets (minimum pixel levels in sensor or camera outputs— built into some video/cinema color spaces such as Rec. 709) from flare light.
| Original | Veiling glare
Color moiré is artificial color banding that can appear in images with repetitive patterns of high spatial frequencies, like fabrics or picket fences. The example on the right is a detail of a shirt captured by the Canon Rebel XT with its excellent kit lens. The usual image wasn’t used because it doesn’t contain a repetitive pattern and because color moiré is difficult to simulate.
Color moiré is the result of aliasing (image energy above the Nyquist frequency) in image sensors that employ Bayer color filter arrays, as explained here. It is affected by lens sharpness, the sensor’s anti-aliasing (lowpass) filter (which softens the image), and demosaicing software. It tends to be worst with the sharpest lenses.
Software (especially operations performed during RAW conversion) can cause significant visual artifacts, including oversharpening “halos” and loss of fine, low-contrast detail. These artifacts result from nonlinear (nonuniform) signal processing (so-called because it varies with the signal). Images may be sharpened (MTF boosted) in the proximity of contrasty features like edges and blurred (lowpass filtered) in their absence. This generally improves measured performance (both sharpness from slanted-edges and noise/Signal-to-Noise Ratio (SNR) from chart patches), but it may result in a degradation of perceived image quality, for example, a “plasticy” cartoon-like appearance of skin even though edges are strongly sharpened. This loss of detail cannot be measured with SFR.
Some artifacts can be measured by the Log F-Contrast module, which analyzes the chart shown on the left, which varies logarithmically in spatial frequency on the horizontal axis and in contrast on the vertical axis. The Random/Dead Leaves module is also useful for observing and measuring artifacts: a particularly egregious case is presented here.
| Original | NR+Sharpening
Data compression and transmission losses can have a significant effect on image quality. The right side of the image on the left has been saved as a low quality JPEG. Banding, loss of low-contrast detail, and “waviness” near edges are visible.
A full analysis of data compression and transmission losses
Some of these losses, especially the loss of low-contrast detail, can be analyzed with the Log F-contrast and Random/Dead Leaves modules. A more detailed analysis of compression losses is under development.
| Original | Low-quality JPEG
Note: Many of Print Test’s functions are now performed by Gamutvision. We may deprecate Print Test in a future version of Imatest. Please let us know if you use it and would like it kept.
Dmax = -log10(minimum print reflectivity) is a measure of the deepest black tone a printer/ink/paper combination can reproduce. It is an extremely important print quality factor. Prints with poor Dmax look pale and weak. Dmax = 1.7 is a good value for matte prints; 2.0 is a good value for glossy, semigloss, and luster prints. There have been reports that Epson Ultrachrome K3 printers have Dmax as high as 2.3 with Premium Luster paper. That would be outstanding.
Dmax is affected by the printer, paper, and ink. The response curve is also affected by the ICC profile. Print Test can help with the selection of supplies and diagnosis of printing problems.
| Original | Reduced Dmax
Print color gamut is the range of colors a printer/ink/paper combination can reproduce. It is an important quality factor, though its importance may be somewhat overrated. (This statement is bound to generate controversy.) Relatively unsaturated colors such as skin tones dominate our impression of print quality. Such colors must be reproduced accurately. Gamut affects only highly saturated colors. Overall color response, especially for low to moderately saturated colors, is more important than gamut.
Print color gamut and overall color response are measured by Print Test, along with the density factors described above.
Print gamut is affected by the printer, paper, ink, and working color space. Color response is also affected by the ICC profile and rendering intent. Print Test can help with the selection of profiles, software settings, and the diagnosis of color problems.
| Original | Reduced gamut
The RIT Center for Imaging Science has done some excellent work, but links that used to be on their site are hard to find. Some missing links: Direct Digital Image Capture of Cultural Heritage from RIT is a gold mine of information. Links to a number of reports on image quality targeted at museums and cultural institutions. The 78-page Final Project Report by Berns, Frey, Rosen, Smoyer and Taplin, July 2005, is probably the best summary unless you have time for Erin P (Murphy) Smoyer’s 345 page Master’s thesis (about twice the length of the average Ph.D. thesis).
The Research Library Group (RLG) has some useful documents such as Guides to Quality in Visual Resource Imaging (2000). These articles are the predecessors to the above-mentioned RIT Direct Digital Image Capture work.
The University of Texas Laboratory for Image & Video Engineering is doing some interesting work on image and video quality assessment, which approaches the problem using information theory, natural scene statistics, wavelets, etc. Challenging material!
Details of several Imatest algorithms are included in Appendix C, Video Acquisition Measurement Methods (pp. 91-125), of the Public Safety SoR (Statement of Requirements) volume II v 1.0, released by SAFECOM, prepared by ITS (a division of NTIA, U.S. Department of Commerce). No credit is given, but the style and illustrations will be recognizable.