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

More from Optics & Light

Other simulators in this category — or see all 50.

View category →
NewUniversity / research

Zernike Wavefront Aberrations

Defocus, astigmatism, coma, spherical Zernike modes on a circular pupil; PSF via FFT, Strehl ratio and Maréchal estimate.

Launch Simulator
NewUniversity / research

Optical Tweezers (Gradient Trap)

Gaussian trap U(r), stiffness k ∝ P/w₀², overdamped Langevin bead with Stokes drag and thermal Brownian jitter; ⟨r²⟩ trace.

Launch Simulator
NewUniversity / research

1D Photonic Crystal Bandgap

Alternating n₁/n₂ bilayers; TE transfer-matrix T(λ), R(λ); stop bands where |Tr(M_period)/2|>1 vs period Λ.

Launch Simulator
NewUniversity / research

Sagnac (Ring) Interferometer

Δφ ∝ Ω·A/λ for counter-propagating beams in a rotating loop — optical gyro idea.

Launch Simulator
NewSchool

Brewster Angle

tan θ_B = n₂/n₁; R_p→0; θᵢ+θₜ=90°; Fresnel R_s, R_p vs θᵢ.

Launch Simulator
NewSchool

Fermat's Principle

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

Launch Simulator
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

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

Live graphs

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

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.