Front and back focal planes
Object is one focal length before the first ideal lens. The filter is one focal length after it and one before the second lens. The receiver is one behind the second. Common carrier phase does not change intensity.
Optics 062 · Diffraction, Fourier optics, and computational imaging
A coherent 4f processing bench with eight passive amplitude or phase filters, movable frequency masks, real inverted receiving data, phase contrast and matched correlation.
Physics tutorial
BackgroundA lens separates the spatial frequencies of a coherent amplitude field. At its back focal plane, physical position obeys . A mask here edits the field spectrum, not the Fourier transform of a camera intensity image.
Why it mattersHow does moving one filter in a Fourier plane rewrite edges, blur, and repeated texture in an image?
Start with the essentials
Object is one focal length before the first ideal lens. The filter is one focal length after it and one before the second lens. The receiver is one behind the second. Common carrier phase does not change intensity.
Band passes radii between half radius and radius. Directional mode is a slit with that half-width. Twin notch blocks both signed centres. Phase disk is programmed at the chosen wavelength, not an unspecified glass depth. Carrier is a Fourier-plane stop; ideal lens pupils remain unlimited.
Parseval gives the same transmission from the complete sampled receiving field. The five-millimetre visible crop is not total power. Input, filtered and comparison images share one fixed display mapping; Fourier diagnostics use a separate fixed logarithmic mapping. All raw probes remain linear.
This illustrative weak-phase relation assumes a uniform background and a disk affecting only the zero order. The numerical model uses the actual finite illumination and finite disk, so halos and background leakage remain; it does not substitute this linear formula for the simulated image.
A smooth open-ring glyph is the programmed template. The same FFT data and passive normalized complex transmission calculate the correlation. Two repeated glyphs create peaks at inverted displacements. The disk gives a broad false response that can be brighter: an unnormalized positive-template correlation is not a classifier. This is an ideal complex mask, not a manufactured hologram or certified recognition system.
Input illumination tapers to zero at the four-millimetre square boundary. Zero padding reduces circular wraparound but the discrete output remains periodic; hard masks are sensitive to frequency-grid placement. Samples are point intensity, not area-integrated camera pixels. Changing wavelength or focal length reprograms the mask to keep frequency coordinates fixed, so its physical dimensions change. Apparatus axial scale and transverse detail scales differ.
Typical misconceptionFourier-transforming the input photograph reproduces the optical processing of any object.
Better mental modelThe lens acts on complex amplitude. A transparent phase object can have nearly uniform input intensity while a phase disk reveals its structure. This simulation knows the programmed complex transmission; it does not recover lost phase from a photograph.
Compare open carrier, low pass and high pass on the target. The image inverts; high pass loses most power while emphasizing edges.
What to observe: Low pass softens fine detail; removing the central spectrum makes edges brighter relative to the background, not an energy gain.In the stripe preset, click the paired spectrum peaks. Translate or widen the twin notch; stripe removal also discards overlapping object information.
What to observe: A horizontal Fourier slit passes horizontal frequency variations, hence vertical object stripes. Rotating the slit rotates the selected frequency direction.Compare phase cells with an open carrier and a quarter-wave disk. Reverse disk phase, then try matched correlation on the two glyphs.
What to observe: Phase filtering preserves power within the carrier; local brightness redistributes. Correlation peaks mark inverted displacements, not recovered object pixels.