Publications / 2026 / Deep diffusion model-based dual structured light for large-format complex surface imaging

Deep diffusion model-based dual structured light for large-format complex surface imaging

Lei Lu, Yingju Wang, yuejiao guo, Zhilong Su, Wei Pan, Deyang Zhang, Qinghui Zhang, Peng Li
Measurement Science and Technology, 37(6):065009

In one sentenceTwo projector–camera heads measure a large surface at the same time. Where their views overlap, a conditional diffusion model untangles the mixed fringes, so both halves can be reconstructed and fused.

The problem

Phase-shifting structured light measures 3D shape with high accuracy by projecting sinusoidal fringes and reading their phase in a camera image. A single projector–camera unit, however, sees an object from only one angle. On large or complex surfaces, protrusions block the projected light or the camera’s view, leaving shadowed and blind regions without phase information, and the measurable area is limited. Measuring from several viewpoints, or turning the object on a turntable, fills the gaps but is slow and impossible for objects that cannot be moved.

Adding a second projector–camera head covers what the first cannot see, but only if the two heads can measure at the same time with overlapping views. When both projectors are on, each camera records the two fringe patterns superimposed in the overlap, an aliased pattern that leads to incorrect reconstruction. Earlier ways of separating such patterns need extra hardware (colour filters, special optical paths), colour or orientation multiplexing, or a strict projection order, and some give up simultaneous measurement altogether.

Schematic side view: Camera 1, Projector 1, Projector 2 and Camera 2 above a zigzag surface, with dashed projection rays. A blue shaded triangle on the left is labelled Shade-Left and a green one on the right Shade-Right.
A two-head layout. The shaded region on the left is observed only by the left head, and the one on the right only by the right head. Fig. 1 of the paper.
Two cameras and two projectors below a bevel gear. Camera 1's captured region A and camera 2's captured region B overlap in the middle. Fringe image insets: (a) and (c) show full fringe images, (b) and (d) zoom into the overlap, where the stripes are blurred and mixed.
Region A, captured by camera 1, and region B, captured by camera 2, overlap in the middle. The insets show fringe images from camera 1 (left) and camera 2 (right) with a close-up of the overlap, where both cameras see aliased fringes. Fig. 3 of the paper.

How it works

The system pairs two synchronised projector–camera heads with locally overlapping fields of view and runs them simultaneously. Instead of preventing the aliasing with hardware, it removes it in software: a conditional diffusion model learns to recover, from each aliased image, the clean fringe pattern of one projector. After that, each head works as a conventional structured-light unit, and the overlap is used to fuse the two results.

  1. Two synchronised heads. Two projectors and two cameras are connected by synchronous control lines, so both heads project and capture at the same time. Each head measures part of the surface, and their fields of view overlap locally.
  2. Aliasing as a sum. In the overlap a camera pixel integrates light from both projectors, so its intensity is the sum of the two projected patterns’ contributions. Writing u for the pixel and ln for the pattern of projector n, I(u) = I(u; l1) + I(u; l2) (background light is assumed not to affect the phase). One head’s pattern is therefore the measured intensity minus the other head’s pattern, I(u; ln) = I(u) − I(u; l3−n), which the authors read as a denoising problem, with the other head’s pattern as the noise.
  3. Conditional diffusion recovers the clean fringe. A U-Net with self-attention is trained in a conditional denoising diffusion framework. Training pairs come from the system itself: one head on alone gives the clean pattern x0, both heads on give the aliased pattern y, which serves as the condition. At inference the model starts from Gaussian noise and denoises it step by step, guided by y, until it reaches the dealiased fringe.
  4. Phase and 3D per head. With clean fringes, the four-step phase-shifting algorithm gives the wrapped phase and multi-frequency heterodyne unwrapping the absolute phase. Triangulation with each head’s calibrated projector and camera parameters then turns it into a partial 3D point cloud.
  5. Fusion with ICP. The overlapping region provides corresponding points, and the iterative closest point (ICP) algorithm estimates the rotation and translation that merge the two partial point clouds into the complete surface.
Four-panel pipeline. Step 1, System Construction: two cameras and two projectors light a bust with green and red light paths, producing aliasing. Step 2, Dealiasing with diffusion model: stacks of aliased fringe images enter a diffusion model and clean fringe stacks come out. Step 3, Phase estimation: wrapped phase maps and phase profiles. Step 4, Point cloud fusion: two partial colour-coded point clouds of the bust are added into one complete cloud.
The four stages: synchronous acquisition with two projectors and two cameras, diffusion-based dealiasing, phase estimation, and fusion of the two partial point clouds. Fig. 2 of the paper.
Diffusion training and sampling diagram. Training (dashed green): a clean fringe x0 and noise z are mixed into xt, which together with the aliased image y enters a U-Net built from Conv2D, residual and self-attention blocks; its noise estimate z* is compared with z by an L1 loss. Sampling (purple): starting from noise xT and condition y, the trained network is applied repeatedly, t = t − 1, until t = 0.
Training (dashed) and sampling (solid) of the conditional diffusion model. During training the network learns to predict the added noise with an L1 loss; during sampling it is applied for T steps, conditioned on the aliased image y. Fig. 4 of the paper.

Results

The prototype uses two TJ20U2 projectors and two CMOS cameras with a resolution of 3072 × 2048. Fringe patterns with periods of 100, 110, 120 and 130, each in four phase steps of 0.5π and with varied initial phase, produced 4043 training and 1583 test samples of 512 × 512 pixels; the model was trained with T = 4000 diffusion steps for 800 epochs. Without dealiasing, fringe aliasing introduces significant errors in both heads’ point clouds and in the fused result; with the diffusion model, the object is reconstructed successfully. An earlier derivative-based recovery method, applied to the same aliased fringes, distorts the fringes (noticeably denser, with local intensity amplification) and gives a noisy point cloud with pronounced layering. On a prism chosen to accentuate occlusion, fusion widened the reconstruction range and filled sparse areas that a single head leaves.

The authors define the scope of the evaluation as truly simultaneous dual-head measurement with a local overlap. Other aliasing-removal methods depend on specific hardware or projection schemes, such as colour or orientation multiplexing, optical-path separation or controlled projection sequences, and could not be run on this configuration without changing it. Results are therefore compared with non-aliased single-projector measurements as the reference and with conventional phase shifting applied directly to the aliased fringes as the baseline.

Three square panels: (a) a grey fringe image of an object with stripes mixed in its right part, (b) the recovered fringe image, which looks almost the same but with regular stripes, and (c) a uniformly blue difference map with a colour scale from 0 to 1.
(a) An aliased fringe pattern captured by one head, (b) the pattern recovered by the model, and (c) the difference between (b) and the non-aliased pattern. Fig. 7 of the paper.
Three columns of colour-coded point clouds of a bevel gear, each with left (L) and right (R) partial clouds above and the fused cloud below. (a) Ground truth: clean halves and a complete fused gear. (b) Aliased: both halves have scattered, wrong points in the middle and the fused cloud has a gap with outliers. (c) Ours: clean halves and a complete fused gear like (a).
Bevel-gear reconstruction: (a) each head measured separately and fused, used as ground truth; (b) both heads on at once without dealiasing; (c) both heads on at once with the diffusion model. Fig. 9 of the paper.

Cite

@article{lu2026deep,
  title={Deep diffusion model-based dual structured light for large-format complex surface imaging},
  author={Lu, Lei and Wang, Yingju and guo, yuejiao and Su, Zhilong and Pan, Wei and Zhang, Deyang and Zhang, Qinghui and Li, Peng},
  journal={Measurement Science and Technology},
  year={2026},
  doi={10.1088/1361-6501/ae4253}
}
Type
Article Journal
Topic
Structured Light & 3D Imaging
Venue
Measurement Science and Technology, 37(6):065009
Year
2026
DOI