Documentation – Previous v5.2

How to Test Lenses with SFRplus or eSFR ISO

Current Documentation
View previous documentation
View legacy documentation
All documentation versions

Testing lenses: Introduction

Lens quality (especially sharpness) has always been of great interest to photographers. It’s what we spend the big bucks for— if we have them. And it’s what we look for in a lens at any price point. Traditionally, lens testing has been highly tedious, best left to professionals and large publications. With Imatest, that has changed forever. All you need to do is photograph an SFRplus, ISO-12233:2014+ eSFR, or tilted checkerboard chart (with careful technique of course), run SFRplus or eSFR ISO, and interpret the results.

This page contains the recommended procedure for testing lenses using Imatest SFRplus, eSFR ISO, or Checkerboard, all of which are far more convenient and comprehensive than SFR (formerly described on this page, now moved to How to test lenses with Imatest SFR)

If you use eSFR ISO, we recommend an Enhanced or Extended eSFR chart because the Standard chart cannot measure MTF near the corners of the image. These instructions focus on SFRplus, but also apply to eSFR ISO and Checkerboard, which are run and analyzed in a nearly identical manner.

SFRplus and eSFR ISO measure several lens quality factors, the most important of which is sharpness, which is characterized by spatial frequency response (also called MTF for Modulation Transfer Function). Although the complete MTF response curve is of interest, the spatial frequencies where contrast falls to half its low frequency and peak values, MTF50 and MTF50P, are simple and useful indicators of both image and lens sharpness. Their relationship to print quality is discussed in Interpretation of MTF50 and SQF/Acutance. SFRplus and eSFR ISO also measure lateral Chromatic aberration, which can appear as color fringing near the edges of the frame, distortion (barrel or pincushion), tonal response, gamma, and color response. Other lens quality factors are described here.

Imatest SFRplus and eSFR ISO are straightforward to use and produce clear numeric results, but careful technique is vital.

To fully characterize a lens you should test it with a variety of settings.

  • Aperture: most lenses are relatively soft wide open and sharpest around the middle of their range (the “optimum” aperture): around f/5.6 to f/11 for the 35mm and digital SLRs; f/2.8-f/5.6 for compact digital cameras.
  • Focal length in zoom lenses also strongly affects sharpness, but there is no general trend relating sharpness to focal length.
  • Locations on the image plane: Lenses tend to be softer toward the edges. For this reason you should test sharpness at several locations in the frame (easy with SFRplus and eSFR ISO). We recommend at least 9 regions to fully characterize a lens: 1 near the center, 4 part-way out (near the top, bottom, and sides), and 4 near the corners. More regions can give a more detailed characterization, especially with 3D and lens-style MTF plots. In a well-manufactured lens, sharpness should be symmetrical about the center of the image, but we live in an era when manufacturers are constantly striving to reduce production costs, often at the expense of manufacturing quality. Even premium lenses may be poorly centered. Decentering is particularly well displayed in the SFRplus or eSFR ISO 3D plots.

You can learn a lot by testing your own lenses, but you must be aware of one essential fact.

You cannot measure a lens in isolation. It is a part of an imaging system that includes the camera’s image sensor, RAW converter (which may sharpen the image), and signal processing pipeline. Hence,

  • Measurements are relative. It’s difficult to determine an absolute number for the lens alone. But you can accurately compare lenses on similar cameras.
  • Camera and RAW converter settings, especially those that affect sharpening, noise reduction, and gamma, strongly affect the results. Record them, and be consistent. RAW files often produce the best results. The dcraw RAW conversion software used by Imatest employs no sharpening or noise reduction and has an ideal transfer curve with a (default) gamma of 0.45.

The basic steps in testing the lens are:

The test chart

The SFRplus chart was designed to measure a large number of key image quality factors, including sharpness, lateral chromatic aberration, and distortion. More about the chart can be found in Using Imatest SFRplus, Part 1. Here is a standard monochrome SFRplus chart, which is available in several options, listed in the table below.

Standard SFRplus test chart
Standard SFRplus test chart

SFRplus chart options (can be selected when ordering)
  Standard Options & notes
Grid of squares 5×9 4×7, 5×7, and 7×11 are also available. 5×9 is best suited for HTDV (16:9 aspect ratio) and DSLRs (3:2 aspect ratio). 5×7 is best suited for compact digital cameras and cameraphones (4:3 aspect ratio).
Main contrast level 10:1 from 40:1 to 1.1:1, Greater than 10:1 not recommended.
Secondary contrast level 2:1 Same as main level or as low as 1.1:1. Shows effects of nonlinear processing.
Stepchart Included (below center) Omitted in chrome on opal or glass charts
Color chart Omitted Included (above center). L*a*b* values will be sent in a file.
Focus star Inluded (above center) May be omitted. Used as a focus aid (not for analysis). Omitted if color chart is included
Size No standard size 40 or 60 inches (1 or 1.5 meters) wide inkjet-printed, 10×14 inches (photographically-printed), smaller (chrome on glass)

The standard SFRplus test chart consists of a 5x9 grid of squares, all but four of which have a 10:1 contrast ratio. The contrast ratio of the remaining four (one column off the center) is 2:1. A small 4x5 patch stepchart (densities in steps of 0.1 from 0.05 to 1.95) is located below the central square and a focus star (not analyzed by SFRplus) or color pattern is located above the center.. A number of options are available, including a color pattern (above the center, in place of the focus star).

The chart can be purchased from the Imatest store. It should be mounted on 32x40 or 40 x60 inch (0.8×1 or 1×1.5 meter) sheets of 1/2 inch (12.5 mm) thick foam board with spray adhesive or double-sided tape. 1/2 inch foam board stays flatter than standard 1/4 or 3/8 inch board.

It can also be produced as a chrome-on-glass transmission target in very small sizes Details here. Charts can be printed widebody inkjet printers, but you must have fine materials, skill, and a knowledge of color management. We strongly recommend that you purchase a chart.

Nonlinear signal processing and chart contrast Although Imatest SFR is relatively insensitive to chart contrast (MTF is normalized to 100% at low spatial frequencies), measured SFR is often affected by chart contrast due to nonlinear signal processing in cameras, i.e., processing that depends on the contents of neighboring pixels, and hence may vary throughout an image. Nonlinear processing is almost universal in digital cameras (though you can avoid it by using RAW images with dcraw). It improves pictorial quality but complicates measurements. It takes two primary forms.

  • Sharpening, applied in the proximity of contrasty features like edges. Boosts response at high spatial frequencies.
  • Noise reduction, applied in the absence of contrasty features. Attenuates response at high spatial frequencies, i.e., removes fine, low contrast detail (texture), which is interpreted as noise. Many cameras increase noise reduction at high ISO speeds.

The signal processing algorithms are proprietary; they are a part of a manufacturer’s “secret sauce”
for producing pleasing images. Though they vary a great deal, some generalizations can be made.

Most cameras do NOT apply noise reduction and sharpening uniformly throughout an image.

Contrasty edges tend to have better (more extended) MTF than low contrast edges.

For this reason it may be a good idea to photograph both a relatively contrasty edge (though not so high that it causes clipping) as well as a relatively low contrast edge. The SVG charts (above) are excellent choices. Both types of edge can also be produced using Imatest Test Charts. An estimate of chart contrast derived from the average light and dark pixel levels (away from the transition) and gamma is displayed in several places in SFR and Rescharts Slanted-edge SFR. (Estimated chart contrast = (avg. pixel level of light area/avg. pixel level of dark area)^(1/gamma) ).

Nonlinearities are analyzed in depth in the Log F-Contrast module.

The ISO 12233:2014 E-SFR chart (Enhanced and Extended versions) was designed to measure the same image quality factors as SFRplus. More about the chart can be found in Using Imatest eSFR ISO, Part 1. Here is the Enhanced chart:

new_ISO-12233_enh_wedges_3_2_sRGBEnhanced ISO 12233 E-SFR chart, supported by the Imatest eSFR ISO module.

Photograph the chart


Frame the SFRplus chart as specified below. Framing for the eSFR ISO chart is described here.

  • There is white space above and below the bars (used to measure distortion) at the top and bottom of the images. The white areas should be at least 0.5% and no more than 25% of the total image height. Ideally the white space should be 1-6% of the image height. The chart should be vertically centered, but this is not necessary for SFRplus to run successfully.
  • The stepchart pattern is close to the horizontal center of the chart.
  • The sides of the chart may extend beyond the image (as shown below) or be well within the image. The software is designed to accommodate a wide variety of framing and aspect ratios. Edges closest to the left and right boundaries will always be properly located. If the left and right sides of the chart are inside the image, there should be no interfering patterns in the image that could be mistaken for chart features— chart surroundings included within the image should be or light gray.

Well-framed SFRplus image
Well-framed SFRplus image

  • The chart should be aligned correctly using techniques and tricks shown in The Imatest Test Lab. Moderate misalignment is tolerated by SFRplus: a tilt of 1-2 degrees, perspective distortion, etc., but every effort should be made to align the chart properly. Moderate barrel or pincushion distortion (
  • The image can be cropped (starting with) to remove interfering features near the edges, using the Crop button in the SFRplus setup window.

If exposure compensation is available, you may want to use it to get a good exposure: typically by overexposing +1 f-stop.

Bad framing

Badly cropped image

Interfering patterns near borders

(Can be cropped in Imatest 3.4+)

Good framing

Well cropped image

Same pattern; interfering patterns masked out

Badly cropped image

Missing white space above top distortion bar

Good crop

Some tilt, distortion tolerated


The chart below summarizes lighting considerations. The goal is even, glare-free illumination. Lighting angles between 30 and 45 degrees are ideal in most cases. At least two lights (one on each side) is recommended; four or six is better. Avoid lighting behind the camera, which can cause glare. Check for glare and lighting uniformity before you expose. A description of recommended lighting setups can be found in Building a Low-Cost Test Lab. (We formerly recommended 4700K (near-daylight) SoLux quartz-halogen lamps, but we now recommend LED lamps, which are available with adjustable intensity and color temperature.) The BK Precision 615 Light meter (Lux meter) is an outstanding low-cost instrument (about $100 USD) for measuring the intensity and uniformity of illumination.


Distance and field of view
The camera must be far enough from the chart so you are measuring the sharpness of your camera and lens, not the chart. But remember,
It’s the field of view, not the chart-to-camera distance, that counts.
A rough rule of thumb: For an inkjet-printed chart the field of view should be at least
22 inches (60 cm) for a 6-megapixel camera;
35 inches (90 cm) for a 16 megapixel camera.
Details below. For a high-quality photographically-printed chart (such as the charts from Applied Imaging) you can get quite a bit closer.

Using a chart printed on Premium Luster paper on the Epson 2200 (a high quality pigment-based inkjet photo printer), the MTF of the 6.3 megapixel Canon EOS-10D showed no change if the image field was at least 22 inches (56 cm) wide– twice the length of the chart. Performance falls off slowly for smaller widths. Choose a camera-to-target distance that gives at least this image field width. The actual distance depends on the sensor pixel count and the focal length of the lens.

Cameras with more pixels, and hence higher potential resolution, should should have a larger image field width. Here is a very rough guideline for for the minimum field width of inkjet-printed charts.

The camera-to-target distance is not critical as long as it’s greater than a reasonable minimum.

More on distance can be found in SFR Instructions Part 1.

Image field width (in inches) > 8.8 * sqrt(megapixels)
Image field width (in cm) > 22 * sqrt(megapixels)

— or —

The distance to the target should be at least 40X the focal length of the lens for digital SLRs. (25X is the absolute minimum; 40X leaves some margin.) For compact digital cameras, which have much smaller sensors, the distance should be at least 100X the actual focal length (not the 35mm-equivalent): the field of view is about the same as an SLR with comparable pixel count. The recommended distance is described in geeky detail in Chart quality and distance.

Sensor sizes
5.0 4.0 3.0
1/3.2″ 5.68 4.54 3.42
1/3″ 6.0 4.8 3.6
1/2.7″ 6.59 5.27 3.96
1/2″ 8.0 6.4 4.8
1/1.8″ 8.93 7.18 5.32
2/3″ 11.0 8.8 6.6
1″ 16.0 12.8 9.6
4/3″ 22.5 18.0 13.5
35mm 44.3 24.0 36.0






Proper exposure is important for accurate Imatest SFR results. Neither the black nor the white regions of the chart should clip— have substantial areas that reach pixel levels 0 or 255. The best way to ensure proper exposure is to use the histogram in your digital camera. Blacks (the peaks on the left) should be above the minimum and whites (the peaks on the right) should be below the maximum.

The histogram, taken from the Canon File Viewer Utility, indicates excellent exposure.

Tips on photographing the chart
Distance doesn’t matter as long as the target far enough from the camera so sharpness is limited by the camera and lens, not by the target. A Wide body printer (capable of printing images at least 24 inches high) is required to print the SFRplus chart.
The target should be evenly lit and free of glare.
White balance should be approximately neutral.
Use a sturdy tripod and a cable release. If possible, use the mirror lock. You can use Imatest SFR to find the difference made by a good tripod or mirror lock. Imatest SFR can sharpen your technique, literally (pun intended).
Be sure to expose the image so detail is maintained in both light and dark areas. Neither should be blocked (clipped). Use your camera’s histogram. If more than 0.5% of the pixels are at levels 0 or 255, Imatest SFR will assume that clipping has taken place and issue a warning message. This has no effect on the calculations– it’s just a warning that accuracy may be compromised.
Be sure the camera is correctly focused on the chart. Imatest SFR can test the accuracy of your camera’s autofocus.

Save the image as a RAW file or maximum quality JPEG. If you are using a RAW converter, convert to JPEG (maximum quality), TIFF, or PNG. If you are using film, develop and scan it.

If the folder contains meaningless camera-generated file names such as IMG_3734.jpg, IMG_3735.jpg, etc., you can change them to meaningful names that include focal length, aperture, etc., with the Rename Files utility, which takes advantage of EXIF data stored in each file.

Run Imatest SFRplus or eSFR ISO

These instructions are excerpted from Using Rescharts Slanted-edge modules Part 2.

Open Imatest by double-clicking the Imatest icon on

  • the Desktop,
  • the Windows Start menu,
  • the Imatest folder (typically C:\Program files\Imatest in English language installations).

After several seconds, the Imatest main window opens. Then click on Rescharts or SFRplus on the upper left.

SFRplus modes

SFRplus operates in two modes: interactive/setup (Rescharts) and automatic.

Use Rescharts, SFRplus Setup, or eSFR ISO to initiate an interactive/setup run. This allows you to examine detailed results interactively and to save settings for the highly automated SFRplus Auto or eSFR ISO Auto runs (or the even more automated EXE or DLL versions included in Imatest IT). SFRplus or eSFR ISO should be run at least once in Rescharts prior to the first Auto run.


Rescharts SFRplus, eSFR ISO, and Checkerboard

Clicking Rescharts opens the Rescharts window, shown here. The first step is to read a file.

Selecting file(s)

File portion of Rescharts wndow

The portion of the Rescharts window used for opening files is shown on the right. You can open a file by clicking on Read image file if the correct chart type is displayed, or by selecting a Chart type. One or more files may be selected, as shown below. If you select multiple files, they will be combined (averaged), and you’ll be given the option of saving the combined file.

If the folder contains meaningless camera-generated file names such as IMG_3734.jpg, IMG_3735.jpg, etc., you can change them to meaningful names that include focal length, aperture, etc., with the Rename Files utility, which takes advantage of EXIF data stored in each file.

The folder saved from the previous run appears in the Look in: box on the top. You are free to change it. You can open a single file by simply double-clicking on it. You can select multiple files for combined runs (in Imatest Master) by the usual Windows techniques: control-click to add a file; shift-click to select a block of files. Then click Open. Three image files for the Canon 17-40mm L lens are highlighted. Large files can take several seconds to load.

Imagest SFR: Open slanted-edge input file dialog box
File selection

Multiple file selection Several files can be selected in Imatest Master using standard Windows techniques (shift-click or control-click). The files are combined to reduce noise and (in some instances) observe the effects of camera shake or image stabilization. The multi-image dialog box gives you the option of saving the combined file, which will have the same name as the first selected file with _comb_n appended, where n is the number of files combined. Batch (sequential) runs are not supported in Rescharts, but are supported in automatic SFRplus runs (initiated by the SFRplus button in the Imatest main window).
RAW filesImatest can analyze Bayer raw files: standard files (TIFF, etc.) that contain undemosaiced data. RAW files are not very useful for measuring MTF because the pixel spacing in each image planes is twice that of the image as a whole; hence MTF is lower than for demosaiced files.(An excetion: white-balanced Bayer RAW files can be treated as standard monochrome files for MTF measurement.) But Chromatic aberration can be severely distorted by demosaicing, and is best measured in Bayer RAW files (and corrected during RAW conversion). Details of RAW files can be found here.


SFRplus setup window

When the file (or files) have been opened, the SFRplus parameters & setup window, shown below, appears. This window allows you to select groups of regions (ROIs) for analysis, shown as violet rectangles. It also lets you select the size of the regions, whether to analyze vertical or horizontal edges, and change several additional settings. Pressing the Settings & options button on the left opens the SFRplus Settings & options window, which allows you to select additional settings that affect the calculations, display, and output (for automated SFRplus runs). The light yellow-orange rectangles are for calculating the color/lightness uniformity profiles.

SFR parameters & setup window
SFRplus parameters & setup window; 9 regions selected for analysis

SFRplus setup window controls Settings
Settings area
Gamma Assumed Gamma (contrast) of the chart. Has a small effect on the MTF results. Default is 0.5.
Channel Select channel to analyze: R, G, B, Y, R-only, G-only, B-only, Y-only. (Y is Luminance channel). Use one channel only to speed up calculations or where other channels are dark and may not contain valid data.
Chart contrast

(for gamma calc.)

Chart contrast– for the contrasty squares (i.e., most of them). Used to estimate gamma from the image.
Use for MTF (Checkbox, normally unchecked) When checked, use the gamma derived from the chart for the MTF calculation. This may result in a small improvement in accuracy.
Settings window Open the SFRplus settings & options window, shown below.
ROI selection area


(center, etc)

(Selects which regions to locate. Actual ROIs are located automatically)

Only the recommended settings are shown. For full selection, see Using Rescharts Slanted-edge modules Part 2.

Select the regions (ROIs) to analyze. Choices below. The number of regions is in parentheses. This is a particularly important setting. We encourage users to become familiar with the settings below. Note that the squares above and below the middle square are never selected for analysis; they are reserved for other purposes (stepchart, color chart, and/or focusing pattern). At least 13 regions are required for 3D plots. These selections are indicated by 3D , below.

3. Center, corners, part-way (9) (Part-way on diagonal between center & corners). This setting is often a good compromise between speed and detail.

6. Center, corners, part-way, L, R, T, B (13) This is the smallest selection that can be used with 3D displays.

7. 5 rows, 5 columns (except step & color ROIs) (23) (edges on a 5×5 grid, omitting the squares above and below the middle). Highly detailed results, well-suited for 3D displays.

10. All squares, inner & boundary edges (best 3D map). A highly detailed grid, recommended for detailed 3D displays. The edges tend to be non-overlapping. Best for 3D plots where squares have a single contrast.

13. All squares, inner & bdry except low contrast (good 3D map). A highly detailed grid, recommended for detailed 3D displays for charts that have two contrast levels (mostly high (10:1) and a few low (2:1)). The edges tend to be non-overlapping. Best for 3D plots with charts that have squares with two contrast levels.

Vertical, Horizontal edges (or Both) Selects Vertical edges, Horizontal edges, or Both. Usually Vertical, but Horizontal is often useful. Use Both for Lens-style MTF plots.
Step chart (checkbox) Perform step chart analysis. Should be unchecked for charts that do not include the step chart (such as transmissive chrome-on-glass charts). Checked by default.
Color chart (checkbox) Perform color analysis. Only if color pattern is included. Not needed for lens testing.

(Auto or number)

The number of rows of squares in the chart (between the top and bottom bars) or Auto for automatic row detection (the default). Since Automatic row detection may fail if the apect ratio of the squares is not 1:1, setting it to the actual number of rows (4, 5, or 7) is recommended.
Negative Check this box for negative images (light squares on dark background).
Speedup (checkbox) Checked recommended. Eliminates some calculations not needed for lens testing, including SQF.
ROI size Slider that determines the size of the ROI. Use the largest value that keeps a save distance from edges of squares and top and bottom bars. May need to be reduced where distortion is severe.
Crop borders Allows borders to be cropped to remove interfering patterns that might otherwise be included in the image. This button is tinted pink whenever the image is cropped.
ROI width

(below ROI size slider)

Width of ROI selection. Normal width for the standard rectangular ROI. Choose Wider or Widest for very fuzzy edges or for enhanced noise analysis.
Other controls
Title Title. Defaults to file name. You can add a description.
Open this web page in a web browser.
Image setting Selects image channel for display: Original (RGB) image, Red, Green, or Blue channels.
Save settings Save settings (for use in auto SFRplus), but do not continue with run.
OK Save settings and continue with run: Calculate results for all selected region. You will be able to view results interactively.
Cancel Cancel run; do not save settings.

After you’ve finished making settings, click OK to save settings and continue with the run. You can click Save settings to save the settings without continuing.

Settings window

The SFRplus settings window, shown below, opens when Settings window in the setup window is pressed. The settings are saved when OK is pressed. Recommended settings are shown. More detail in Using Rescharts Slanted-edge modules Part 2.

SFRplus settings & options window
SFRplus settings window

This window is divided into sections: Title and Help on top, then Plot and save, Display options, Settings, Optional parameters, and finally, OK or Cancel.

Title defaults to the input file name. You may leave it unchanged or add descriptive information.

Help opens a browser window containing a web page describing the module.

Plot and save (for SFRplus or eSFR ISO Master Auto and IT; NOT for Rescharts).

This area selects figures to plot and save as well as a number of data save settings. It only applies to the automatic version of SFRplus in Imatest Master (also EXE and DLLs) — it is not for Rescharts.

The leftmost checkboxes in this section select figures to plot and save. Note that all plotted figures are saved. Saved figures, CSV, and XML files are given names that consist of a root file name (which defaults to the image file name) with a suffix added. Examples:



Close figures after save should be checked if a large number of figures is to be displayed. It prevents a buildup of figures, which can slow processing.

A CSV summary file is saved for all runs. An XML file is saved if Save XML results is checked.

You can select either Save CSV files for individual ROIs or Save summary CSV file only (the summary file is always saved).

Save figures as PNG or FIG files. PNG files (a losslessly-compressed image file format) are the default—.they require the least storage. Matlab FIG files allow the data to be manipulated– Figures can be resized, zoomed, or rotated (3D figures-only). FIG files should be used sparingly because they can be quite large. PNG files are preferred if no additional manipulation is required.

Save folder determines where results are stored. It can be set either to subfolder Results of the image folder or to a folder of your choice. Subfolder Results is recommended because it is easy to find if the image folder is known.

When 3D plot is checked, SFRplus Auto plots the last 3D plot displayed in Rescharts unless the More 3D plots button has been pressed and one or more plots has been selected. More 3D plots will be displayed in pink in this case. This allows several 3D plots to be displayed and saved by SFRplus auto.


Display options contains settings that affect the display (units, appearance, etc.).

MTF plots (individual and summary) selects the spatial frequency scale for MTF plots for for the summary plot. Cycles/pixel (C/P), Cycles/mm (lp/mm), Cycles/inch (lp/in), Line Widths per Picture Height (LW/PH), and Line Pairs per Picture Height (LP/PH) are the choices. (Note that one cycle is the same as one line pair or two line widths.) If you select Cycles per inch or Cycles/mm, you must enter a number for the pixel size— either in pixels per inch, pixels per mm, or microns per pixel. For more detail on pixel size, see the box below.

Maximum MTF plot frequency selects the maximum display frequency for MTF plots. The default is 2x Nyquist (1 cycle/pixel). This works well for high quality digital cameras, not for imaging systems where the edge is spread over several pixels. In such cases, a lower maximum frequency produces a more readable plot. 1x Nyquist (0.5 cycle/pixel), 0.5x Nyquist (0.25 cycle/pixel), and 0.2x Nyquist (0.1 cycle/pixel) are available.

Chart contrast For a medium or low contrast charts (contrastgamma will be calculated and displayed along with the contrast factor (the chart contrast multiplier = measured gamma/nominal gamma, where nominal gamma is entered in the Settings area, described below). If the Use for MTF box just to the right is checked, this value will be used in the MTF calculation, which may result in a modest improvement in accuracy.


Secondary readout input dialog box

Secondary readout controls the secondary readout display in MTF plots. The primary readout is MTF50 (the half-contrast spatial frequency). Two secondary readouts are available with several options. The first defaults to MTF30 (the spatial frequency where MTF is 30%). The third is used only for SFRplus Lens-style MTF plots.

Clicking Change opens the window shown on the right. Secondary readout settings are saved between runs. Choices:

  • The upper radio button (MTF) for each readout selects MTFnn, the spatial frequency where MTF is nn% of its low frequency value.

  • The middle radio button selects MTFnnP, the spatial frequency where MTF is nn% of its peak value: useful with strongly oversharpened edges.

  • The lower radio button (MTF @ ) selects MTF @ nn units, where nn is a spatial frequency in units of Cycles/pixel, LP/mm, or LP/in. If you select this button, the pixel spacing should be specified in the Cycles per… line in the Plot section of the input dialog box, shown above. A reminder message is displayed if the pixel spacing has been omitted.

Edge plot selects the contents of the upper (edge) plot. The edge can be cropped (default) or the entire edge can be displayed. Three displays are available.

  1. Edge profile (linear) is the edge profile with gamma-encoding removed. The values in this plot are proportional to light intensity. This is the default display.
  2. Line spread function (LSF) is the derivative of the linear edge profile. MTF is the fast fourier transform (FFT) of the LSF. When LSF is selected, LSF variance (σ2), which is proportional to the DxO blur unit, is displayed.
  3. Edge pixel profile is proportional to the edge profile in pixels, which includes the effects of gamma encoding.


Settings affect the calculations as well as the display.

Gamma is used to linearize the input data, i.e., to remove the gamma encoding applied in the camera or RAW converter (more explanation). It defaults to 0.5 = 1/2, which is typical of digital cameras, but is affected by camera or RAW converter contrast settings. It should be set to 0.45 when RAW images are read into Imatest (to be converted by dcraw), but there is little loss in accuracy if it is left at 0.5. If is is set to less than 0.3 or greater than 0.8, the background will be changed to pink to indicate an unusual (possibly erroneous) selection.

Since SFR sharpness measurements are moderately sensitive to the Gamma setting (a 10% error in gamma results in a 2.5% error in MTF50 for a normal contrast target), it’s a good idea to run Colorcheck or Stepchart to determine the correct value of Gamma. A nominal value of gamma should be entered, even if the value of gamma derived from the chart (described above) is used to calculate MTF.

Channel is normally left at it’s default value of Y for the luminance channel, where Y = 0.3*R + 0.59*G + 0.11*B. In rare instances the R, G, and B color channels might be of interest.

Zone weights Weights of the center, part-way, and corner zones. Used for calculating weighted means of key results.

Incident lux (for ISO sensitivity calculations) When a positive value of incident light level (not blank or zero) in lux is entered in this box, ISO sensitivity is calculated and displayed in the Stepchart noise detail figure. More details are on the ISO Sensitivity and Exposure Index page.

Standardized sharpening Leave unchecked for lens testing. If the checkbox is checked, standardized sharpening results are displayed as thick red curves. See SFR instructions for more details.

Reset restores the settings in Options and Settings to their default values.


Additional parameters (all optional) for Excel .CSV output contains a detailed description of the camera, lens, and test conditions. EXIF data is entered, if available, but can be overridden by manual settings. The Reset button clears all entries.

When entries are complete, click OK to return control to the SFRplus settings & options window. When all entries are complete, click either Save settings, OK, or Cancel. Save settings saves the settings for use in automated SFRplus runs, which can be initiated from the SFRplus button in the main Imatest window. OK saves the settings then calculates results for interactive viewing. A sequence of Calculating… boxes appear to let you know how calculations are proceeding. When calculations are complete, results are displayed interactively in the Rescharts window, as shown below.


A Clipping warning is issued if more than 0.5% of the pixels are clipped (saturated), i.e., if dark pixels reach level 0 or light pixels reach the maximum level (255 for bit depth = 8). This warning is emphasized if over 5% of the pixels are clipped. Clipping reduces the accuracy of SFR results. It makes measured sharpness better than reality.  

The percentage of clipped pixels is not a reliable index of the severity of clipping or of MTF measurement error. For example, it is possible to just barely clip a large portion of the image with little loss of accuracy. The plot on the right illustrates strong clipping, indicated by the sharp corner near the “shoulder” on the black line. The MTF measurement is better than reality. The absence of a sharp corner indicates that there is little MTF error.

Clipping can usually be avoided with a correct exposure— neither too dark nor light— and by avoiding high contrast targets (like the old ISO-12233 chart). The maximum recommended edge contrast is 10:1; 4:1 contrast (recommended in the upcoming revision to the ISO-12233 standard) is even better. Low-contrast targets are more reliable overall: in addition to better exposure latitude (reduced risk of clipping), they tend to have less sharpening in cameras with variable signal processing, and MTF results are less sensitive to errors in estimating gamma.


Clipping warnings

The following table lists figures and Excel-readable CSV files produced by Imatest SFRplus when the Save data button is pressed.

(default location: subfolder Results)

Output files for filename.jpg (Y-channel)
Excel .CSV (ASCII text files that can be opened in Excel)
SFR_cypx.csv (Database file for appending results: name does not change). Displays 10-90% rise in pixels and MTF in cycles/pixel (C/P).
SFR_lwph.csv (Database file for appending results: name does not change). Displays 10-90% rise in number/Picture Height (/PH) and MTF in Line Widths per Picture Height (LW/PH).
filename_YA17_MTF.csv or


Excel .CSV file of MTF results for this region (designated by location (YA17) or sequence (nn = 01,…). All channels (R, G, B, and Y (luminance) ) are displayed.
filename_Y_multi.csv Excel .CSV file of summary results for a multiple ROI run.
filename_Y_sfrbatch.csv Excel .CSF file combining the results of batch runs (several files) with multiple ROIs. Only for automatic SFRplus (not Rescharts). Used as input to Batchview.

Interpret the results

Sharpness is the most important (but not the only) lens measurement. To learn more about sharpness measurements, see Sharpness: What is it and how is it measured?, SFR Results: MTF (Sharpness) plot, and Rescharts Slanted-Edge Modules Part 3: Edge Results.

Remember, in evaluating lenses, use the results without standardized sharpening. The Standardized sharpening box should be unchecked. Results with standardized sharpening do, however, have some interest: they indicate what can be achieved after sharpening. But they tend to “flatten” differences between lenses.

The illustration below shows the Rescharts SFRplus window with the Edge and MTF plots for a region near the center. (Any region may be selected.) MTF50 (the spatial frequency where MTF drops to half its low frequency value) or MTF50P (the spatial frequency where MTF drops to half its peak value) are the most valuable results for lens testing: they correlate better with perceived image sharpness than any other measurements. They have the same value except when heavy sharpening is applied, in which case MTF50P is a little lower, and also more representative of the system. In general, heavy sharpening should be avoided when testing lenses. Signal processing (which includes sharpening) should be as consistent as possible.

MTF is preferred over edge response parameters (such as the 10-90% rise distance) because system MTF is the product of the MTF of individual components. No such simple formula is available for edge responses. MTF can be displayed in a number of different ways (in detail for a single region or a map of the whole image surface). Additional output parameters, for example MTF at a specified spatial frequency, can be displayed using the Secondary readout.

Imatest Reschartw window showing MTF plot

Imatest Rescharts window showing Edge and MTF plot for a single region (near the center)

Diffraction-limited MTF is shown as a pale brown dotted line when pixel spacing had been entered.

MTF curves and Image appearance contains several examples illustrating the correlation between MTF curves and perceived sharpness.

Rescharts conrol area
Rescharts control area

The Rescharts window has some common features for all displays.

Zoom turns zoom on and off. For 3D plots it toggles a rotate function.

The Whole image or a Crop may be displayed on the upper right.

Read image file reads a file of the type specified by Chart type below. Changing the type reads another file.

New analysis (same image) lets you reanalyze the same image with the same or different Rescharts module.

Imate settings and options opens the Settings window, described above.

Display lets you select the display. Several are of interest for lens testing, including 1. Edge and MTF, 2. Chromatic Aberration, 3. SQF, 4. Multi-ROI summary, 12. 3D plots, and 13. Lens style MTF plot. Several will be shown below.

The options area below the Display region depends on the Display setting. Details in Rescharts Slanted-edge results Part 3.

Save screen saves and optionally displays the Rescharts window.

Save data saves several results in CSV and XML files, shown below.


(default location: subfolder Results)

Output files for filename.jpg (Y-channel)
Excel .CSV (ASCII text files that can be opened in Excel)
SFR_cypx.csv (Database file for appending results: name does not change). Displays 10-90% rise in pixels and MTF in cycles/pixel (C/P).
SFR_lwph.csv (Database file for appending results: name does not change). Displays 10-90% rise in number/Picture Height (/PH) and MTF in Line Widths per Picture Height (LW/PH).
filename_YA17_MTF.csv or filename_nn_MTF.csv Excel .CSV file of MTF results for this region (designated by location (YA17) or sequence (nn = 01,…). All channels (R, G, B, and Y (luminance) ) are displayed.
filename_Y_multi.csv Excel .CSV file of summary results for a multiple ROI run.
filename_Y_sfrbatch.csv Excel .CSF file combining the results of batch runs (several files) with multiple ROIs. Only for automatic SFRplus (not Rescharts). Used as input to Batchview.
Chromatic aberration


Chromatic aberration is best measured on tangential (i.e., vertical) edges near the corners. The plot shows the three channels. A key result is CA (area), which is equal to the area between the highest and lowest value (works because the x-axis is pixels and the y-axis is normalized). It is most valuable as percentage of the distance from the center to the corner. Interpretation: under 0.04; insignificant. 0.04-0.08: minor; 0.08-0.15: moderate; over 0.15: serious.

Another useful result is CA (crossing), the maximum difference between center of the edges (where 0.5 is crossed). This is more closely related to lens performance, whereas the area is more closely related to perceptual color fringing (and it strongly affected by the demosaicing algorithm). For more information, see Chromatic Aberration and SFR Results: Chromatic Aberration … plot.

Multiple regions If you selected multiple regions of interest (ROIs) you can select the multi-ROI summary, shown below for 13 regions (center, corners, part-way to corners, left, right, top, and bottom). This plot can get clutterred if too many regions are selected.

Multiple region plot

Multi-Region summary plot, showing Center-corner distances, MTF50, MTF20, and
Chromatic Aberration (in center-corner %) superimposed on image.
Distortion measurements (SMIA TV Distortion, etc.) are shown on the lower-left.

3D display

With this display you can quickly scan the summary results, then look at the detailed results for the individual region. The legend explains the four results boxes next to each ROI. The boxes contain (1) The ROI number (N) and the center-to-corner distance expressed in %, (2) MTF50 in either cycles/pixels or LW/PH, in boldface for emphasis, (3) MTF20, and (4) Chromatic Aberration (area as % of center-to-corner distance).


3D display (shown on right) provides the most visual detail of the results. Several options are available: a multi-region summary may be shown between the 3D plot. This display is particularly useful for locating decentering or other irregularities in the system response. MTF50 is shown, but a great many parameters may be displayed with the 3D plot. More details here.

The region selection was 13. All squares, inner & bdry except low contrast (good 3D map).


SQF— Subjective Quality Factor (not shown on this page) is a measurement of perceived display (print) sharpness that includes the contrast sensitivity of the human visual system, print size, and estimated viewing distance, in addition to MTF. Its importance will grow as it becomes more familiar. SQF is strongly affected by sharpening.


Lens-style MTF plot

Lens-style MTF plot

Lens-style MTF plot (introduced in Imatest 3.6) This plot was designed to produce similar results to MTF plots in the Canon, Nikon, and Zeiss websites. up to three plot parameters may be selected with the Secondary readout. Typical values are 10, 20, and 40 lp/mm (used by Zeiss) or 10 and 30 lp/mm (used by Canon and Nikon).

A minimum of 13 regions is required, though more are better. Recommended region selections are 10. All squares, inner & boundary edges (best 3D map) (for single-tone charts) or 13. All squares, inner & bdry except low contrast (good 3D map) (for two-tone charts). V&H edges (both) should be selected.

Though these plots are similar to the website plots, there are several significant differences.

  • Imatest calculates he system MTF, including the sensor and signal-processing. The websites display the optically-measured MTF for the lens-only. If you recognize this difference, the two sets of curves are comparable (but never identical).
  • The horizontal (H) MTF curves, derived from vertical edges, are mostly radial (sagittal) near the edges (at large distances from the image center). The SFRplus chart was designed for this purpose.
  • The Vertical (V) MTF curves, derived from horizontal edges, are mostly tangential (meridional) near the edges.
  • The published curves assume perfect centering. Some manufacturers, like Canon, obtain their results from design calculations, not from measured test results (no centering issues!). Real lenses almost always exhibit some decentering, primarily due to manufacturing, which is more visible in other displays, particularly the 3D plots. In the lens-style MTF plot, decentering shows up as a spread in the individual readings (x for Horizontal MTF from vertical edges, • for Vertical MTF from horizontal edges).

Combining runs in batches

Once parameters have been set and saved in Rescharts SFRplus, you can run the fully automated version of SFRplus by pressing the SFRplus Auto button in the Imatest main window. If you select a batches of files (instead of a single file), an output file with a name of the form input_filename_chan_sfrbatch.csv will be created for the Batchview program, which allows combined results to be viewed. Here is an example for six files with different apertures (f/4.5-f/22).

Batchview display for a single set of runs
Batchview display from one set of tests: Canon 17-85mm, 26mm focal length

Two small plots (SMIA TV Distortion and Chromatic aberration area in %) and some EXIF data (metadata) from the first file in the batch are displayed on the right. Details on creating the combined file can be found in the Batchview instructions.


License holders are encouraged to publish test results in printed publications, websites, and discussion forums, provided they include links to www. The use of the Imatest Logo is encouraged. However you may not use Imatest for advertising or product promotion without explicit permission from Imatest LLC. Contact us if you have questions.

Imatest LLC assumes no legal liability for the contents of published reviews. If you plan to publish test results, you should take care to use good technique. This list summarizes the key points presented above. It’s well worth reviewing.

Sturdy camera support Use a sturdy tripod, cable release, and, if possible, mirror-lock.
Target mounting If you are working outdoors, be sure the target doesn’t shake in the wind.
Target distance Be sure you’re far enough fro the target so the printed edge quality doesn’t affect the measurements. Target distance considerations are given here.
Focus Be sure the camera is focused accurately on the target. Note whether you used manual or automatic focus.
Target alignment Make sure the corners, as well as the center, are in focus.
Raw conversion and settings The choice of RAW converter (in or out of the camera) and settings, particularly Sharpening, can make a hugedifference. Contrast and White balance are also important. Settings that affect contrast and transfer curve can also have a strong effect. If possible a “Linear” setting (meaning a straight gamma curve with no additional tonal response adjustments) should be used.

Most importantly: Keep the settings consistent from run to run!

Gamma SFR sharpness results are moderately sensitive to the Gamma setting: A 10% gamma error changes MTF50 by 2.5%. For best results gamma should be measured by running Colorcheck or Stepchart. Ideally a Q-14 target (similar to the Q-13, but larger) should be mounted close to the slanted edge images.
Cleanliness and filters Lens surfaces should be clean. You should note whether you have a protective (UV or Skylight) filter. It can make a difference— more likely reduced contrast than reduced sharpness. With Imatest you can find out.
File formats Use RAW or the highest JPEG quality. Never use less than the maximum resolution or JPEG quality unless you are specifically testing the effects of these settings.
Lens settings Lens performance is a strong function of the aperture (f-stop) and focal length (for zooms). Be sure to record these settings (easy because they’re saved with the EXIF data) and include them in your writeup. The optimum (sharpest) aperture is of particular interest. Lens performance is also somewhat affected by the distance to the target.
White balance Should be close as possible to neutral, particularly in Colorcheck.
This may seem like a lot of fuss, but the technique you develop in testing cameras and lenses will spill over to your daily photography. Alfred Stieglitz tested film and developers extensively when he discovered photography as a student in Berlin. Ansel Adams performed extensive tests in the development of his zone system. Although nobody would claim that testing is responsible for their unique vision, it certainly contributed to the skill that transformed their vision into prints of transcendent beauty.