HomeMedical Devices & Diagnostics HardwareOCT Interferogram: Fringe-Resolved Coherence Gating

OCT Interferogram: Fringe-Resolved Coherence Gating (2D)

A 2D companion OCT simulator that computes the raw time-domain interferometer signal directly — carrier fringes at the source wavelength riding under a Gaussian coherence envelope — then quadrature-demodulates it in real time to recover the depth-gated echo and build a live B-scan.

Medical Devices & Diagnostics Hardware2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-medicine-topic-26 ↗ Open standalone

This 2D simulator models the raw signal inside an optical coherence tomography system rather than only its final image. As the probe sweeps laterally across a layered tissue sample, each column triggers a simulated reference-arm depth scan that produces a genuine interferometric signal: carrier fringes at the source's optical frequency, appearing only where the reference and sample path lengths match to within the source's coherence length. That raw fringe signal is then quadrature-demodulated on canvas, in real time, using the same in-phase/quadrature lock-in technique real OCT electronics use, to recover the depth-resolved echo strength — which is what actually builds the live B-scan cross-section shown on the right. Adjust the source's center wavelength and bandwidth to watch the fringe spacing and coherence gate change together, switch tissue presets, and use the live trace to see coherence gating happen at the level of individual interference fringes rather than as an already-smoothed curve.

⚙ Under the hood

A 2D companion OCT simulator that computes the raw time-domain interferometer signal directly — carrier fringes at the source wavelength riding under a Gaussian coherence envelope — then quadrature-demodulates it live to recover the depth-gated echo and build a real B-scan.

OCTinterferometrymedical imagingopticssignal processingbiophotonics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)