Algorithm Search⌘K

Definitioncore

Optical transfer function

Also called OTF, modulation transfer function.

The Fourier transform of the point spread function, normalized to 1 at zero frequency. Its modulus scales the contrast of each sine pattern and its phase shifts the pattern.

The optical transfer function (OTF) of an imaging system is the Fourier transform HH of its point spread function hh, scaled so that H(0)=1H(0) = 1. The PSF page describes the blur in space, as the image of one point. The OTF describes the same blur by frequency: a sine pattern of frequency ξ\xi in the object comes out as a sine pattern of the same frequency, with its contrast multiplied by ∣H(ξ)∣|H(\xi)| and its position shifted by the phase arg⁡H(ξ)\arg H(\xi). The modulus ∣H∣|H| is called the modulation transfer function (MTF) and the phase is called the phase transfer function (PTF). By the convolution theorem, blur by hh is multiplication by HH, so the OTF of a chain of blurs is the product of their OTFs. For an incoherent system in scalar diffraction theory, the OTF is the normalized autocorrelation of the pupil, and it is zero above the frequency 2 NA/λ2\,\mathrm{NA}/\lambda, which is the Abbe diffraction limit.

Definition

Setting. The object is an intensity o(x)≥0o(x) \ge 0 on the plane, x∈R2x \in \mathbb{R}^2. The light is incoherent, so intensities add. The system is shift invariant (isoplanatic): the image of a point at x0x_0 is the same pattern moved to x0x_0, after the magnification is scaled out. Then the image is the convolution

i(x)=(h∗o)(x)=∫h(x−x′) o(x′) dx′,i(x) = (h \ast o)(x) = \int h(x - x')\, o(x')\, dx',

with a PSF h≥0h \ge 0 that is integrable and normalized, ∫h=1\int h = 1. The Fourier transform uses ordinary frequency, f^(ξ)=∫f(x)e−2πix⋅ξdx\hat f(\xi) = \int f(x) e^{-2\pi i x \cdot \xi} dx, with ξ\xi in cycles per unit length.

Definition. The optical transfer function is H=h^H = \hat h:

H(ξ)=∫h(x) e−2πix⋅ξ dx.H(\xi) = \int h(x)\, e^{-2\pi i x \cdot \xi}\, dx.

The modulation transfer function is ∣H(ξ)∣|H(\xi)| and the phase transfer function is arg⁡H(ξ)\arg H(\xi). Some authors define the OTF as h^/h^(0)\hat h / \hat h(0) for a PSF that is not normalized. With ∫h=1\int h = 1 the two agree.

Properties. Each one follows in one line from h≥0h \ge 0, hh real and ∫h=1\int h = 1.

  1. H(0)=∫h=1H(0) = \int h = 1. A uniform object stays uniform with the same brightness.
  2. ∣H(ξ)∣≤1|H(\xi)| \le 1 for every ξ\xi. Proof: ∣H(ξ)∣≤∫∣h(x)∣ ∣e−2πix⋅ξ∣ dx=∫h=1|H(\xi)| \le \int |h(x)|\,|e^{-2\pi i x\cdot\xi}|\, dx = \int h = 1. So no frequency gains contrast.
  3. H(−ξ)=H(ξ)‾H(-\xi) = \overline{H(\xi)}, because hh is real. So the MTF is even and the PTF is odd. If hh is also symmetric, h(−x)=h(x)h(-x) = h(x), then HH is real, and the PTF is 00 or π\pi.
  4. Cascade: if h=h1∗h2h = h_1 \ast h_2 (a lens followed by a detector pixel, or a telescope followed by the air), then H=H1H2H = H_1 H_2. This is the convolution theorem.
  5. Sine response: let o(x)=1+mcos⁡(2πξ0⋅x+φ)o(x) = 1 + m \cos(2\pi \xi_0 \cdot x + \varphi) with contrast 0≤m≤10 \le m \le 1. Then
i(x)=1+m ∣H(ξ0)∣cos⁡(2πξ0⋅x+φ+arg⁡H(ξ0)).i(x) = 1 + m\,|H(\xi_0)| \cos\big(2\pi \xi_0 \cdot x + \varphi + \arg H(\xi_0)\big).

Proof: write the cosine as two complex exponentials. Convolution with hh multiplies e2πiξ0⋅xe^{2\pi i \xi_0\cdot x} by H(ξ0)H(\xi_0) and e−2πiξ0⋅xe^{-2\pi i \xi_0\cdot x} by H(−ξ0)=H(ξ0)‾H(-\xi_0) = \overline{H(\xi_0)}, and the constant by H(0)=1H(0) = 1. The sum of the two terms is the cosine above. So the image contrast at ξ0\xi_0 is m ∣H(ξ0)∣m\,|H(\xi_0)|, which is the reason for the name.

The OTF from the pupil. In scalar Fraunhofer diffraction theory, write the pupil of the system as a function P(η)P(\eta) of frequency (the coherent transfer function). For an aberration-free system with numerical aperture NA\mathrm{NA} in light of wavelength λ\lambda, P(η)=1P(\eta) = 1 for ∣η∣≤NA/λ|\eta| \le \mathrm{NA}/\lambda and 00 elsewhere; aberrations multiply it by eikW(η)e^{i k W(\eta)} with the wavefront error WW and k=2π/λk = 2\pi/\lambda. The amplitude PSF is the inverse Fourier transform a=Pˇa = \check P, and the intensity PSF is ∣a∣2=a aˉ|a|^2 = a\,\bar a scaled to unit integral. The Fourier transform of a product is the convolution of the transforms, and the transform of aˉ\bar a is P(−η)‾\overline{P(-\eta)}. This gives (Goodman, section 6.3.1)

H(ξ)=∫P(η+ξ/2) P(η−ξ/2)‾ dη∫∣P(η)∣2 dη.H(\xi) = \frac{\int P(\eta + \xi/2)\, \overline{P(\eta - \xi/2)}\, d\eta}{\int |P(\eta)|^2\, d\eta}.

So the incoherent OTF is the autocorrelation of the pupil, divided by its value at 00. Two shifted copies of a disk of radius NA/λ\mathrm{NA}/\lambda overlap only if the shift is less than 2 NA/λ2\,\mathrm{NA}/\lambda. So H(ξ)=0H(\xi) = 0 for ∣ξ∣≥2 NA/λ|\xi| \ge 2\,\mathrm{NA}/\lambda. The coherent transfer function PP itself cuts off at NA/λ\mathrm{NA}/\lambda. For the clear circular pupil the overlap area gives, with ρ=∣ξ∣\rho = |\xi| and ρc=2 NA/λ\rho_c = 2\,\mathrm{NA}/\lambda,

H(ρ)=2π(arccos⁡ρρc−ρρc1−(ρρc)2 ),0≤ρ≤ρc.H(\rho) = \frac{2}{\pi}\left(\arccos\frac{\rho}{\rho_c} - \frac{\rho}{\rho_c}\sqrt{1 - \Big(\frac{\rho}{\rho_c}\Big)^2}\,\right), \qquad 0 \le \rho \le \rho_c.

Aberrations lower the MTF. Let P=χD eikWP = \chi_D\, e^{ikW} with χD\chi_D the indicator of the clear pupil DD. In the formula above the numerator is an integral of eik(W(η+ξ/2)−W(η−ξ/2))e^{ik(W(\eta + \xi/2) - W(\eta - \xi/2))} over the overlap of the two shifted copies of DD. The modulus of the integral is at most the area of the overlap, which is the numerator for W=0W = 0. The denominator does not depend on WW. So ∣HW(ξ)∣≤H0(ξ)|H_W(\xi)| \le H_0(\xi) at every frequency: no aberration raises the MTF above that of the aberration-free system (Goodman, section 6.4).

Discrete OTF. On a periodic grid of nn samples, the PSF is stored with its center at index 00, so that hjh_j for j>n/2j > n/2 holds the value at j−nj - n. Then a delta PSF (h0=1h_0 = 1, all other hj=0h_j = 0) gives the identity, and the OTF is the DFT

Hk=∑j=0n−1hj e−2πijk/n,H_k = \sum_{j=0}^{n-1} h_j\, e^{-2\pi i jk/n},

where index kk stands for frequency kk for k<n/2k < n/2 and k−nk - n otherwise. Periodic convolution yi=∑jhjx(i−j) mod ny_i = \sum_j h_j x_{(i - j) \bmod n} becomes y^k=Hkx^k\hat y_k = H_k \hat x_k under the discrete Fourier transform. So the periodic blur matrix is diagonalized by the DFT, and its eigenvalues are the HkH_k (Hansen, Nagy and O'Leary). This is the operator that the deconvolution pages of this area invert. With a zero or a reflexive boundary the matrix is not circulant, and the HkH_k are only an approximation of its spectrum.

Examples and non-examples

A three-point blur. Take n=8n = 8 and the PSF (1/4,1/2,1/4)(1/4, 1/2, 1/4) centered at index 0, that is h0=1/2h_0 = 1/2, h1=h7=1/4h_1 = h_7 = 1/4. Then Hk=12+12cos⁡(2πk/8)=cos⁡2(πk/8)H_k = \tfrac12 + \tfrac12 \cos(2\pi k/8) = \cos^2(\pi k/8). The values for k=0,1,2,3,4k = 0, 1, 2, 3, 4 are 11, 0.85360.8536, 0.50.5, 0.14640.1464 and 00. The OTF is real and nonnegative because the PSF is symmetric with a large center. At k=4k = 4 the pattern (1,−1,1,−1,… )(1, -1, 1, -1, \dots) is blurred to 12−14−14=0\tfrac12 - \tfrac14 - \tfrac14 = 0 at every pixel, so this frequency is lost and no deconvolution can bring it back.

A box blur, with contrast reversal. Take n=16n = 16 and a box of width 5, hj=1/5h_j = 1/5 for j∈{−2,…,2}j \in \{-2, \dots, 2\}. Then Hk=15(1+2cos⁡(2πk/16)+2cos⁡(4πk/16))H_k = \tfrac15\big(1 + 2\cos(2\pi k/16) + 2\cos(4\pi k/16)\big), which gives 11, 0.85240.8524, 0.48280.4828, 0.07020.0702, −0.2-0.2, −0.2359-0.2359, −0.0828-0.0828, 0.11330.1133 and 0.20.2 for k=0,…,8k = 0, \dots, 8. At k=4k = 4 the OTF is −1/5-1/5: the MTF is 0.20.2 and the PTF is π\pi. A sine pattern with a period of 4 pixels comes out with a fifth of its contrast and with its bright and dark bars swapped. A defocused lens does the same thing, because its PSF is close to a uniform disk; Hopkins (1955) computed the defocused OTF of a circular pupil with its zeros and negative lobes.

A diffraction-limited microscope. Take λ=500\lambda = 500 nm and an oil objective with NA=1.4\mathrm{NA} = 1.4. The cutoff is ρc=2⋅1.4/0.5 μm=5.6\rho_c = 2 \cdot 1.4 / 0.5\ \mu\mathrm{m} = 5.6 cycles per micrometer, a period of 178.6178.6 nm. The circular pupil formula gives H=0.6850H = 0.6850 at ρc/4\rho_c/4, 0.39100.3910 at ρc/2\rho_c/2 and 0.14430.1443 at 3ρc/43\rho_c/4. A grating with a period of 200 nm has ρ=5\rho = 5 cycles per micrometer, so ρ/ρc=0.8929\rho/\rho_c = 0.8929 and H=0.0414H = 0.0414: it is imaged with about 4 percent of its contrast. A grating with a period of 170 nm is above the cutoff and is imaged as a uniform field.

A Gaussian PSF. The model h(x)=(2πσ2)−1e−∣x∣2/(2σ2)h(x) = (2\pi\sigma^2)^{-1} e^{-|x|^2/(2\sigma^2)} has H(ξ)=e−2π2σ2∣ξ∣2H(\xi) = e^{-2\pi^2\sigma^2|\xi|^2}. It is positive at every frequency, so it has no cutoff. It is a convenient fit to the center of an Airy pattern, not a result of diffraction, and its OTF is wrong at high frequencies.

Non-example: a shift-variant system. If the PSF changes across the field, as with field-dependent aberrations or with depth in a thick specimen (see the Gibson-Lanni model), the image is not a convolution, and there is no single OTF. One uses a local OTF in each region where the PSF is nearly constant (an isoplanatic patch).

Non-example: coherent imaging. With coherent light the amplitudes add, not the intensities, so the image intensity is not a linear function of the object intensity. The pupil PP is then the transfer function of the amplitude, and the formula i^=Ho^\hat i = H \hat o does not hold for intensities. Two coherent points in phase at the Rayleigh distance show no dip between them (see Rayleigh criterion).

Non-example: the MTF alone does not fix the PSF. The PSFs h(x)h(x), h(−x)h(-x) and h(x−x0)h(x - x_0) all have the same MTF. Their OTFs differ only in the phase. Measurement of the MTF with sine targets therefore loses the asymmetry of a PSF with coma, and blind methods such as phase diversity need extra data to find the phase.

  • Point spread function: the image of a point. The OTF is its Fourier transform, normalized to 11 at ξ=0\xi = 0.
  • Coherent transfer function: the pupil PP as a function of frequency. It acts on amplitudes and cuts off at NA/λ\mathrm{NA}/\lambda, half the incoherent cutoff.
  • Abbe diffraction limit: the statement that the incoherent OTF of an aberration-free system is zero for ∣ξ∣≥2 NA/λ|\xi| \ge 2\,\mathrm{NA}/\lambda.
  • Rayleigh criterion: a convention for the smallest distance at which two points look separate. It is a statement about the PSF, not about the OTF.
  • Sampling theorem: an image with an OTF that is zero above ρc\rho_c is band-limited, so a pixel pitch of 1/(2ρc)=λ/(4 NA)1/(2\rho_c) = \lambda/(4\,\mathrm{NA}) in the object plane samples it without aliasing.
  • Wiener filter and image deblurring: deconvolution divides by HH where ∣H∣|H| is large compared with the noise and damps the frequencies where it is small or zero.

References

  1. Joseph W. Goodman, Introduction to Fourier Optics, 3rd edition, Roberts and Company, 2005, Chapter 6, sections 6.2.1 (the amplitude transfer function), 6.3.1 to 6.3.4 (the OTF, its general properties, the OTF as the normalized autocorrelation of the pupil, and the circular pupil) and 6.4 (aberrations and the focusing error)
  2. H. H. Hopkins, The frequency response of a defocused optical system, Proceedings of the Royal Society of London A 231(1184), 1955, pages 91 to 103 (the OTF of a defocused circular pupil, with its zeros and negative lobes)
  3. Per Christian Hansen, James G. Nagy and Dianne P. O'Leary, Deblurring Images, Matrices, Spectra, and Filtering, SIAM, 2006, the chapters on the blur model and on structured matrices (a periodic blur is diagonalized by the DFT, and its eigenvalues are the DFT of the PSF)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/E4W3EQ/text.yaml