Publications / 2023 / 3D reconstruction of moving object by double sampling based on phase shifting profilometry

3D reconstruction of moving object by double sampling based on phase shifting profilometry

Q Zhang, H Li, L Lu Sr, Wei Pan, Z Su, M Zhang, P Lv
Ninth Symposium on Novel Photoelectronic Detection Technology and Applications, vol. 12617 (SPIE), 1950–1958

In one sentenceThe camera shoots twice for every projected fringe, and a motion-aware least-squares model recovers the phase from any three consecutive images, so phase-shifting profilometry can reconstruct moving objects at a higher frame rate.

The problem

Phase-shifting profilometry (PSP) is one of the most commonly used 3D measurement techniques, valued for its high precision, robustness and full-field measurement. A projector casts at least three phase-shifted sinusoidal fringe patterns onto the object, and a camera views them from another angle. The object’s height distorts the fringes, and the 3D shape is computed from the phase of the deformed fringes and the system parameters. Because several images are needed, traditional PSP requires the object to stay static during reconstruction. Once it moves during fringe projection and capture, errors are introduced.

Earlier work tracks the object’s motion and compensates the resulting error, estimates the motion between the 3D data of adjacent frames, or uses a high-speed imaging system with shifted Gray code. One approach that estimates motion from the object’s start and end states is limited to uniform motion, and deep-learning methods that recover phase from a single fringe pattern need time-consuming network training and are hard to run in real time. The authors therefore look for a motion-error compensation method suited to real-time phase-shift measurement.

Two MATLAB plots. Left, (a): a top-down height map over a 450 by 450 pixel grid, mostly dark blue, with scattered light-blue vertical streaks and one bright yellow vertical line near x = 255. Right, (b): a 3D surface plot whose vertical axis is scaled by 10 to the 17, showing a tall thin wall and several fragmented slabs instead of a flat block.
Simulated images of a moving object reconstructed with traditional PSP: (a) reconstruction result, (b) the same result from another angle. The result contains large errors. Fig. 6 of the paper.

How it works

The method changes how the images are captured and how the phase is computed. The camera is triggered twice during every projected fringe pattern, so two images taken under the same fringe differ only by the object’s motion. With the motion known from tracking, a least-squares model recovers the object’s phase from three consecutive images, and overlapping groups of three images give one phase map each.

  1. Two shots per fringe. A trigger control device is added to the camera and projector. The projector projects N fringe images at a set rate and triggers the camera twice in each projection cycle: I11 and I12 are captured while fringe I1 is projected, I21 and I22 while I2 is projected, and so on.
  2. Separate motion from phase shift. Two images taken under the same projected fringe, such as I11 and I12, have no PSP phase shift between them (δ1 = 0), so they differ only by the object’s motion. Images taken under different fringes also carry the PSP phase shift δ2 = 2π/N. The three images I11, I12 and I21 are therefore analysed together.
  3. Track the motion. The rotation matrix and translation vector describing the object’s motion are obtained by tracking the object. From them follows the coordinate transformation (fn, gn) that relates each point’s position before and after the motion.
  4. Solve for the phase by least squares. Each of the three images is written as A + B cos(ϕ + δk) + C sin(ϕ + δk), where A, B and C are unknowns and ϕ is the reference-plane phase at the transformed coordinates. Minimising the squared error over the three images (N = 3) leads to a linear system D X = E for X = [A B C]T, and the phase change caused by the object is φ = tan−1(−C/B). The object is then reconstructed from the phase and the system parameters.
  5. Multiplex the images. Every three consecutive images give one object phase map, so the groups overlap and a new frame starts with each new image. Traditional PSP needs three projected patterns for each frame.
Timing diagram with four rows against a timeline. Projector trigger: one short pulse at the start of each projection. Projector illumination: long high periods labelled I1, I2 (both filled red) and I3. Camera capture: two short pulses inside each illumination period, labelled I11 and I12 (yellow), I21 (yellow) and I22, I31 and I32. Camera trigger: two pulses per projection, aligned with the captures by dashed lines.
Trigger sequence between camera and projector. The camera captures two images during each projected fringe; I11, I12 and I21, highlighted in yellow, are the three images analysed together. Fig. 1 of the paper.
Two diagrams of fringe images. Top, (a): six fringe images labelled I1, I2, I3, I1, I2, I3; brackets join the first three into Frame1 and the next three into Frame2. Bottom, (b): eight fringe images, two under each of I1, I2, I3 and I1; staggered brackets join overlapping groups of images into Frame1 to Frame6.
Fringe projection strategies: (a) frames reconstructed with traditional PSP; (b) frames reconstructed with the proposed method, where overlapping groups of images each give a frame. Fig. 2 of the paper.

Results

The method is verified by simulation. Fringe patterns are simulated for a static object and for an object that moves from left to right by 10 pixels between each two fringe patterns. For comparison, the static patterns are reconstructed with traditional PSP. In the moving case, images taken under the same projected fringe contain only the object’s motion, while images under different fringes contain both the fringe phase shift and the motion. The rotation matrix and translation vector of the motion are computed by tracking the object, the phase is computed with the proposed model, and with multiplexing every three images give an object phase map. These phase maps at different frames give a high-frame-rate 3D reconstruction of the moving block (Fig. 5). Traditional PSP applied to the same images shows large errors (Fig. 6).

In their conclusion, the authors note that the method only needs a newly derived formula and the projection of the first two fringe patterns of a three-step phase shift to reconstruct the moving object, and that it doubles the shooting frame rate at low cost without losing the advantages of PSP. The comparison with traditional PSP is shown visually in Figs. 5 and 6.

Top, (a): four colour phase maps in yellow, blue and green with vertical fringes and an inner square region, one per frame. Bottom left, (b): a top-down height map, a yellow square inside a dark blue border over a 450 by 450 pixel grid. Bottom right, (c): a 3D surface plot of a flat-topped block with a yellow top face.
Reconstruction of the moving object with the proposed method: (a) phase maps at different frames, (b) reconstruction result, (c) the reconstruction from another angle. Fig. 5 of the paper.

Cite

@inproceedings{zhang20233d,
  title={3D reconstruction of moving object by double sampling based on phase shifting profilometry},
  author={Zhang, Qinghui and Li, Hao and Lu Sr, Lei and Pan, Wei and Su, Zhilong and Zhang, Mengya and Lv, Pengtao},
  booktitle={Ninth Symposium on Novel Photoelectronic Detection Technology and Applications},
  volume={12617},
  pages={1950--1958},
  year={2023},
  organization={SPIE},
  doi={10.1117/12.2666843}
}
Type
Paper Conference
Topic
Structured Light & 3D Imaging
Venue
Ninth Symposium on Novel Photoelectronic Detection Technology and Applications, vol. 12617 (SPIE), 1950–1958
Year
2023
DOI