Doppler rendering¶
Some sensors measure how fast the scene moves. A coherent lidar with optical heterodyne detection (OHD) mixes the returning light with its own laser, and the beat frequency reveals each path’s Doppler shift; an FMCW lidar chirps its laser, so that the beat frequency also reveals the path length. A Doppler time-of-flight (D-ToF) camera is a continuous-wave ToF camera whose light and sensor are modulated at slightly different frequencies, so that light from static objects cancels over the exposure and moving objects remain.
Measurement |
Output |
Render pass |
|---|---|---|
Doppler spectrum (OHD) |
|
|
Doppler-gated image (OHD) |
|
|
FMCW spectra (OHD) |
|
|
Doppler ToF |
|
|
All of them take the objects’ velocities as a property (see
Velocities). The OHD passes never move the scene: a path’s Doppler shift follows from the
velocities of its vertices. The D-ToF pass moves the objects during the exposure, so they must be built as animated.
VelocityGroundTruthInline renders the reference velocity maps.
For an introduction to the two sensing principles side by side, see the Doppler rendering tutorial, which compares OHD and Doppler ToF.
Without a local oscillator, the same Doppler spectrum gives the intensity fluctuations of homodyne detection, and with them the speckle contrast of laser speckle contrast imaging: see the application Laser speckle contrast imaging.
Scenes: the OHD tutorials use the Cornell box of the other tutorials,
scene-v4-nolight.pbrt, saved ascornell-box/scene-v4-nolight.pbrt. The D-ToF tutorial uses the same box with movable boxes,scene.pyscenewith its meshes (Floor,Ceiling,BackWall,LeftWall,RightWall,ShortBox,TallBox), saved ascornell-box-moving/scene.pysceneandcornell-box-moving/meshes/*.ply.Light: a point light at the camera, set on
LaserLight.Extra package: the scripts plot with matplotlib (
pip install matplotlib).
Tutorials¶
Render the Doppler spectrum of the Cornell box with DopplerHistogramPathTracerInline, with velocities given to its
boxes (the scene itself stays still), look at the spectra of single pixels, and render a single Doppler-gated image
with DopplerGatedPathTracerInline.
Render the up- and down-chirp spectra of an FMCW lidar with DopplerHistogramPathTracerInline, and recover every
pixel’s distance and velocity from them, from the mean spectra and from a single measurement with speckle.
Move the boxes during the exposure with DopplerToFPathTracerInline, estimate their velocity from a heterodyne and
a homodyne measurement, and compare it with the ground truth.