Skip to main content

02 / 05   CTF & MTF

Application note

Contrast Transfer and Spatial Resolution

Measure how imaging and display systems preserve detail across frequency, field, and direction.

Fine detail can disappear before it becomes too small to count in pixels. The relevant question is how much modulation remains at its spatial frequency. A camera transfers a scene pattern into an image; a display transfers image data into a visible pattern. Both paths include optics, sampling, and processing that influence the measured response.

Distinguish square-wave and sinusoidal tests

A black-and-white bar pattern contains a fundamental frequency and odd harmonics. Its measured Michelson modulation is:

Cout(f)=Lmax⁡(f)−Lmin⁡(f)Lmax⁡(f)+Lmin⁡(f)C_{\mathrm{out}}(f)=\frac{L_{\max}(f)-L_{\min}(f)}{L_{\max}(f)+L_{\min}(f)}

When reporting a normalized contrast transfer function, state the input modulation:

CTF(f)=Cout(f)Cin(f),MTF(f)=∣OTF(f)∣∣OTF(0)∣CTF(f)=\frac{C_{\mathrm{out}}(f)}{C_{\mathrm{in}}(f)},\qquad MTF(f)=\frac{\left|OTF(f)\right|}{\left|OTF(0)\right|}

For a linear, shift-invariant system, MTF describes sinusoidal modulation transfer. CTF measures a square-wave response; they are related through the harmonics but are not interchangeable curves. A bar-pattern percentage is modulation, not the white-to-black luminance ratio.

Camera and display paths both transfer square-wave and sinusoidal patterns; a square wave contains harmonics, while a sinusoid isolates one spatial frequency.

View diagram at full size

Imaging: characterize the complete acquisition condition

Measure a calibrated target at the required working distance, aperture, focus, illumination spectrum, and exposure. A slanted-edge method estimates an oversampled edge spread function from many pixel rows. Differentiating it gives the line spread function; the normalized magnitude of its Fourier transform gives an edge-based spatial frequency response, or e-SFR.

The edge must be linearized using the camera’s response. Edge fitting, binning, windowing, differentiation correction, and noise handling affect the estimate. Sharpening can produce values above unity; this processed response is not a lens-only MTF. Record raw versus processed output and report the field positions actually tested.

Display: characterize the pattern and the observer path

Measure physical luminance profiles of displayed bars, sinusoids, or edges at the intended viewing geometry. The measuring camera’s own lens and sensor can limit the result. Control display scaling, pixel phase, subpixel structure, drive level, and enhancement; characterize instrument response. For near-eye displays, specify the measurement entrance-pupil size and position, virtual-image focus, and angular calibration.

Bar-pattern CTF is a useful display test when its frequency and phase are specified. Display MTF is also meaningful with an appropriate method. Both displays and cameras are sampled systems: aliasing and phase sensitivity are reasons to qualify the procedure, not a universal reason to prefer one metric for an entire device class.

A slanted-edge pipeline proceeds from fitted edge to edge spread function, line spread function, and Fourier magnitude. Both camera and display measurements include the optical measurement path.

View diagram at full size

Specify scale, field, and direction

One line pair is one spatial cycle. Use lp/mm in a named object, image, or display plane, or cycles/degree at a specified viewing distance. For pitch pp in mm, the one-dimensional sampling limit is:

fN=12pf_N=\frac{1}{2p}

This Nyquist frequency does not guarantee faithful detail near the limit. Target and measurement sampling, optical filtering, and orientation all matter. Record both horizontal and vertical variation directions: vertical bars vary horizontally.

Horizontal and vertical frequency directions remain fixed across the field, while radial and azimuthal directions rotate with field position. Imaging and display measurements can use either declared coordinate system.

View diagram at full size

Lens data often use sagittal and tangential sections tied to the optical axis and field point. State whether a label describes the ray plane, line orientation, or frequency direction before comparing it with a horizontal/vertical test. A center-and-corner map may be sufficient for one task; a denser field grid may be necessary for another. No single ROI count defines a complete characterization.

Reading sagittal and tangential directions

At an off-axis field point, the meridional or tangential plane contains the optical axis and the chief ray. The sagittal plane is perpendicular to it and also contains the chief ray. These ray-plane definitions describe the optical geometry.

Many lens MTF charts label radially oriented line structures as sagittal and structures tangent to a field circle as tangential or meridional. Their intensity variation is perpendicular to the lines: radial bars vary in the azimuthal direction, and tangential bars vary radially. A label for line orientation is therefore not the same as a label for frequency direction.

Retain the manufacturer’s convention when reading a published curve. For a measured camera or display map, recording the actual pattern orientation and variation direction removes the ambiguity. Away from the field center, these local directions generally do not coincide with fixed horizontal and vertical axes.

Iris Optics can develop acquisition and display resolution tests that separate device performance from target, sampling, and instrument limits, with acceptance criteria matched to the intended detail.

Explore the model

Square-wave contrast transfer

Compare an input bar pattern with the measured output of a camera system or a display. Keep the spatial-frequency plane explicit.

Change the values to update the results and visualization.

Input Michelson modulation
100 %
Output Michelson modulation
60 %
Normalized square-wave CTF
60 %
Reported pattern frequency
20 lp/mm

This square-wave result is not sinusoidal MTF. The profiles illustrate measured extrema only; they do not reconstruct edge shape.

Square-wave contrast transfer: interactive plotLevel normalized to each mean against Position / pattern periods. Input extrema schematic; Output extrema schematic.000.60.421.20.841.81.262.41.6832.1Position / pattern periodsLevel normalized to each mean
Input extrema schematicOutput extrema schematic
Formula & assumptions

C = (Lmax − Lmin)/(Lmax + Lmin); normalized CTF(f) = Coutput(f)/Cinput(f).

For imaging, input is the calibrated chart and output is a linearized image. For a display, input levels describe intended linear-light modulation and output is measured luminance. Report raw output modulation when that is the required display metric. State the plane, orientation, field location and pattern phase. The schematic shows extrema, not a predicted waveform; no Coltman conversion or slanted-edge MTF analysis is performed.

Explore the model

Blur and pixel sampling

Compare an ideal blur envelope with the sampling limit of detector pixels or display pixels, in their own physical plane.

Change the values to update the results and visualization.

Nyquist sampling frequency
100 lp/mm
Input frequency
0.25 cycles/pixel
Ideal Gaussian MTF
64.138 %
Ideal Gaussian MTF50
62.464 lp/mm

Below Nyquist does not guarantee adequate contrast or freedom from aliasing. Pixel aperture and system processing are not in this illustrative curve.

Blur and pixel sampling: interactive plotContinuous Gaussian MTF against Pixel-plane frequency / lp/mm. Gaussian blur only; Nyquist boundary.00300.21600.42900.631200.841501.05Pixel-plane frequency / lp/mmContinuous Gaussian MTF
Gaussian blur onlyNyquist boundary
Formula & assumptions

MTF(f) = exp[−2π²σ²f²]; fNyquist = 1/(2p); f50 = √(2 ln 2)/(2πσ). Convert σ and p to millimetres.

Illustrative continuous, linear, shift-invariant Gaussian blur only. Pixel aperture, subpixel layout, resampling, processing and aliasing are excluded. A sampling limit is not a resolution guarantee. The same formula applies in a sensor plane or display plane, but angular performance also requires viewing geometry. Zero blur gives MTF = 1 and no finite MTF50. This calculator does not extract MTF from an image.

From estimate to application

Specify the detail your system must preserve.

Connect field position, direction, spatial frequency, and test conditions to an imaging or display performance requirement.

Review your resolution test