In the aspects for the evaluation of digital image quality, or rather image capture devices, the MTF is one of the most common metrics to estimate the response of an optical system.
The MTF or modulation transfer function of a lens indicates the effectiveness with which a lens transfers variations in the brightness of a scene to the focal plane (detail) and how this varies as a function of spatial frequency (fineness of detail).
Although throughout the history of digital imaging various strategies have been proposed for determining this metric, in the digital world these processes have been considerably simplified, with the slant edge technique being one of the easiest to carry out, described among other techniques in ISO 12233:2000 Photography Electronic still picture cameras Resolution measurements.
The slant edge strategy consists of generating images on our sensor where there is a properly differentiated edge, with a vertical orientation and a slight inclination (approx. 5-10º), so that it is possible to determine the horizontal SFR (Spatial Frequency Response).
For the calculation, it is necessary to have a tool that allows us to perform such calculations; we can resort to commercial tools like Imatest or FRAME, but for our purposes the ImageJ plugin developed by the photography professor at UPC Carles Mitja called “Slanted Edge MTF” will be more than sufficient, providing basic information about MTF aspects. As an alternative to this plugin, Jeffrey Kuhn’s work “Modulation Transfer Function” is also available for ImageJ.
The resolution chart can be acquired, but we can also print it ourselves. The standard ISO 12233 chart can be downloaded from Cornell University Cornell. When printing one of these charts, or any form presenting a slanted edge, great attention must be paid to the precision of the edge since many inkjet systems tend to create imprecise edges. Perhaps printing on chromogenic paper (Lambda) offers quite optimal results. Great attention must be paid to the particularities of the chart, but also to the electronic image correction processes, as these condition or are reflected in the MTF.
Before calling the plugin through Plugins > Analyze > SE MTF 2xNyquist, we must determine our ROI (region of interest) or area to study, using ImageJ’s rectangular selection feature.
The use of Carles’s plugin is quite intuitive; it is enough to leave the default options adjusted:
Frequency units: Relative (cycles/Pixel) Sample Size: 32
If the image is in grayscale, no more options are available; however, if it is an RGB image, we can calculate the MTF for each channel or the average of the three.
When activating the calculation process, four windows are displayed:
- MTF – Modulation transfer function
- ESF – Edge Spread Function
- LSF – Line Spread Function
- SPP – Sampling Periodicity Plot
From here the process becomes complicated since understanding these graphs is not straightforward, and only the experience of visualizing and comparing many can give us some understanding of what is happening.
The ESF graph is the first phase of the process, which constitutes the graphical representation of our edge or transition between the black and white areas of our figure. This graph usually appears as a kind of curve where the lower part indicates the black area of our chart, the upper part the white area, and the slope connecting them the transition between both, so that the steeper this slope is, the more contrast and therefore definition exists in our edge.
The LSF is derived from the ESF and usually appears as a graph with a peak that develops along the abscissa axis. The more precise our edge is, the narrower and higher this peak tends to be.
From these two processes, the MTF is deduced, which is usually a graph with a characteristic slightly pronounced S-shaped curve, so that contrast decreases as spatial response decreases. At this point, there are few strategies for interpreting these curves in absolute terms, perhaps a tendency towards ideal theoretical values or the area under the curve, since generally the larger the area, the higher the quality. In the image accompanying this graph, some proposals are indicated that may be useful for an approach to interpreting MTFs.
