PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 50 in Optics & Light.

View category →
NewSchool

Optical Bench (sandbox)

Launch Simulator

Up to 4 elements: thin lenses, vertical mirrors, wedge δ; paraxial ray trace.

NewSchool

Pinhole Camera

Launch Simulator

Camera obscura: similar triangles, image size h_i = h_o · v/u.

NewUniversity / research

Fiber Bragg Grating

Launch Simulator

λ_B = 2 n_eff Λ; Lorentzian toy reflectivity vs λ and probe wavelength.

NewSchool

Thin Lens Equation

Launch Simulator

Hyperbola d_i(d_o), pole at d_o = f, schematic + 1/d check.

NewSchool

Chromatic Aberration

Launch Simulator

Cauchy n(λ); thin-lens f(λ); paraxial rays R/G/B.

NewSchool

Fermat's Principle

Launch Simulator

OPL = n₁AP+n₂PB vs hit point; minimum = Snell path.

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Fourier Optics 4f System

Fourier Optics 4f System

Object → lens → Fourier plane → spatial filter (low/high-pass) → lens → image; 2D FFT with circular aperture in spectrum.

4f system

Object

Fourier filter

0.22
100mm

Paraxial 4f: two lenses of focal length f separated by f; object at front focal plane of L₁, spectrum at shared Fourier plane, inverted image at back focal plane of L₂. Field propagated with 2D FFT × spatial filter H(u,v).

Measured values

Focal length f100mm
System length 4f400mm
FilterLow-pass
Cutoff r/R_max0.22

Live graphs

About this model

In a standard 4f optical processor, a transparency g(x,y) at the front focal plane of lens L₁ (focal length f) produces a complex field whose Fourier transform G(u,v) appears at the back focal plane — the shared Fourier plane halfway between two lenses separated by 2f. A spatial filter H(u,v) (iris, slit, or phase plate) multiplies the spectrum; lens L₂ performs an inverse transform so the rear focal plane carries g′(x,y) ∝ ℱ⁻¹{H·G}, inverted and scaled. Low-pass apertures blur fine detail (remove high spatial frequencies); high-pass apertures emphasize edges and periodic structure. This simulator uses a discrete 2D FFT on 64×64 object presets (grating, slit, cross, grid), circular low-pass and high-pass filters with adjustable radius, and displays object, |G|, filtered spectrum, and image intensity |g′|² in a four-panel layout with a ray schematic. Focal length f labels the 4f geometry (total length 4f) but the FFT model uses normalized spatial coordinates — appropriate for teaching the convolution theorem in Fourier optics.

Who it's for: Undergraduate optics and photonics students after Fraunhofer diffraction and before spatial light modulators or digital holography.

Key terms

  • 4f system
  • Fourier optics
  • Spatial filter
  • Fourier plane
  • Low-pass filter
  • High-pass filter
  • Convolution theorem
  • Optical processing

How it works

Fourier optics 4f system: object → lens → Fourier plane (spectrum) → spatial filter → second lens → image; low-pass and high-pass apertures.

Key equations

G(u,v) = ℱ{g(x,y)} at Fourier plane; g′ = ℱ⁻¹{H·G} at image
Low-pass: |u| < u_c · High-pass: |u| > u_c · 4f spacing: L₁–L₂ = 2f

Frequently asked questions

Why two lenses?
Lens L₁ maps angles at the object plane to positions in the Fourier plane (FT). Lens L₂ maps positions in the filtered Fourier plane back to the image plane (inverse FT). With spacing f between each element, the image is magnified ×1 and inverted.
What does a low-pass filter do?
It blocks high spatial frequencies (large |u|,|v|), which sharpens edges and fine structure in the object. The image looks blurred — equivalent to convolving with a wide point-spread function.
What does a high-pass filter do?
It removes the DC and low-frequency content, highlighting edges and subtracting a uniform background. Periodic objects may show only their higher harmonics.
What is left out?
Finite lens aperture, aberrations, polarization, phase-only filters, and pixel fill factor. The FFT is paraxial, scalar, and monochromatic.