Three-dimensional reconstruction of moving objects using learning-based asynchronous structured light

In one sentenceWithout a sync signal between projector and camera, photos of a moving object can mix two fringe patterns. A diffusion model separates them, a transformer tracks the object through the fringes, and the motion is compensated in the phase. Against a static, synchronised reference the RMS error is 0.090–0.098 mm on four objects, comparable to a SIFT-based method.
The problem
Fringe projection needs several patterns per measurement, so a moving object needs motion compensation, and existing methods also need the camera strictly synchronised to the projector. Without that link, an exposure can straddle a pattern switch and mix two patterns, which introduces large phase errors.


More details
Fringe projection profilometry (FPP) measures 3D shape by projecting a sequence of sinusoidal fringe patterns onto an object and photographing them from a second viewpoint; the surface height distorts the fringes, and their phase encodes depth. Using several patterns makes the method robust to ambient light and uneven reflectivity, but it assumes that the object stays still for the whole sequence. If it moves, the phase shifts between frames change and the reconstruction picks up phase errors.
One family of methods for moving objects tracks the object in the fringe images and writes its motion as a rotation matrix and a translation vector. Lu et al. first used markers placed on the object, and the same group later automated the tracking with the SIFT algorithm. SIFT cannot extract the motion directly from fringe images, so that method separated the object’s features from the fringes using the colour channels of an RGB camera, and colour cameras cost more and run at lower frame rates than monochrome ones. An improved RAFT optical-flow method works directly on fringe images but, according to the paper, needs extensive data and long training.
All of these methods rely on strict synchronisation: the camera must capture each pattern right after the projector shows it. The paper lists three drawbacks of that requirement. Sync signals may fail when camera and projector are far apart, the link is susceptible to electromagnetic interference, and both devices need extra sync circuitry that many off-the-shelf consumer devices lack. Without synchronisation, though, the projector can switch patterns during a camera exposure, and the image then mixes two patterns, which introduces large phase errors.
How it works
The method has two learned parts: a diffusion model that turns each aliased image back into a clean fringe pattern, and a COTR (COrrespondence TRansformer) network that tracks the object between frames directly in the fringe images. The tracked motion is then built into the phase-shifting equations.




More details
- How aliasing forms. The paper models each camera pixel as integrating, over the exposure time, the projected pattern reflected from the object plus two background terms (Eq. 1). If the projector switches patterns faster than the camera samples, the projected term integrates parts of two patterns, and the result is an aliased fringe pattern.
- Diffusion model, training. Clean fringe images captured with synchronous acquisition serve as x₀, and the aliased image serves as the condition y. Gaussian noise is added to x₀ over T steps, and a U-Net learns to predict the added noise from the noisy image xₜ, the step t and y. The condition enters twice: concatenated with xₜ along the channel dimension at the input, and through feature-wise linear modulation inside the U-Net. Self-attention sits at three places only: the bottleneck (1/16 resolution) and the first two upsampling stages (1/8). The authors stress that the added noise is a training device, not a model of the aliasing physics, which is a deterministic temporal integration.
- Diffusion model, separation. Sampling starts from pure Gaussian noise; at each step the U-Net estimates the noise given xₜ, t and y, and one reverse-diffusion step is taken, until a clean fringe image remains. With T = 3000, the full denoising takes about 2.8 s per image on one RTX 3090 GPU. With DDIM sampling at 500 steps it takes about 0.5 s, at a PSNR drop below 0.8 dB.
- Tracking with COTR. COTR maps a query point x in one image to its corresponding point x′ in another, as continuous sub-pixel coordinates rather than integer pixels, for any number of query points. Both images are resized to 256 × 256, a shared CNN backbone turns each into a 16 × 16 × 256 feature map, and the two maps are joined with a positional encoding. A transformer encoder relates the two images, and a decoder plus a fully connected layer outputs x′. For training labels, the authors also captured plain images without fringes at the same positions (Fig. 10), ran SIFT on them, computed rotation matrices and translation vectors, and transferred these motion labels to the fringe images. COTR was then trained on pairs of fringe images before and after motion.
- Motion-compensated phase. Not every match is accurate enough, so RANSAC selects the correct, high-precision ones. From these, a rotation matrix and a translation vector describe the object’s motion. Inserted into the fringe model of the moving object (Eq. 6), they give the correct wrapped phase through Eqs. (7)–(11), from which the object is reconstructed.
Both learned parts carry assumptions that the paper states. Tracking assumes locally rigid motion with small inter-frame displacements; non-rigid deformation or abrupt, violent motion may reduce accuracy. The diffusion model assumes periodic, sinusoidal fringes whose aliasing is mainly a linear superposition of two phases. It suits a known, stable fringe frequency and may lose accuracy under abrupt frequency changes or severe fringe distortion. It also depends on training data that cover enough phase variation and motion.
Setup and data. The system has an industrial camera (2048 × 1536), a DLP projector (1280 × 1024) and a self-developed microcontroller (MCU) with a trigger control circuit. The projector signals the MCU, which waits a preset delay Δt before triggering the camera. Δt = 0 gives normal, non-aliased fringes, and other delays give controlled degrees of aliasing. The fringes have periods of 70, 64 and 59 pixels, each in four patterns with a phase shift of 0.5π. The dataset has 4800 samples: 4000 for training at 200 object positions and 800 for testing at 40 other positions. Motions, driven by a translation stage and a rotation platform, are horizontal and vertical translation at 0.5–5 mm/s, rotation within ±15°, and combinations of translation and rotation. The test set’s speed and angle ranges slightly exceed those used for training.
Results
The gain is not lower error: without synchronisation, and tracking the object in the fringe images themselves, the method reaches accuracy similar to the SIFT-based method.



More details
Fringe recovery. The diffusion model was tested on samples that were not in the training set. The phase difference maps between the synchronous and the predicted images, and their histograms, show small discrepancies (Fig. 9). The authors chose T = 3000 steps empirically: more steps improved PSNR by less than 0.1 dB, and fewer steps noticeably degraded recovery.
Tracking and reconstruction. On a car model under fringe illumination, COTR matches points between frames before and after the motion (Fig. 11a), and the motion-compensated reconstruction gives a dense point cloud and height map (Fig. 11d, e). The paper reports that training converged after about 7,000 iterations and took about 33 h. Three statues (Objects 2–4) were also reconstructed, with height profiles along the y direction (Fig. 12).
Accuracy. The ground truth for the RMS errors is a 3D reconstruction of each object at rest, captured with synchronous acquisition. The proposed method’s errors are 0.090, 0.097, 0.094 and 0.098 mm, and the SIFT-based method’s 0.098, 0.090, 0.084 and 0.088 mm. The proposed method is lower on Object 1 only. What it adds is not lower error: it reaches similar accuracy without synchronisation, tracking the object in the fringe images themselves. The paper does not report the error of reconstructing directly from the aliased images, and it includes no ablation of the two networks.
Cite
@article{lu2027threedimensional,
title={Three-dimensional reconstruction of moving objects using learning-based asynchronous structured light},
author={Lu, Lei and Feng, Hua and Su, Zhilong and Pan, Wei and Wang, Dongyang and Li, Peng},
journal={Optics \& Laser Technology},
volume={207},
pages={117100},
year={2027},
publisher={Elsevier},
doi={10.1016/j.optlastec.2026.117100}
}