Publications / 2026 / Depth-adaptive calibration of line-laser 3D measurement systems using rational polynomial mapping and depth-independent misalignment compensation

Depth-adaptive calibration of line-laser 3D measurement systems using rational polynomial mapping and depth-independent misalignment compensation

Ling Cao, Zidong Lin, Yong Yang, Quan Tang, Zhipeng Gao, Daquan Feng, Wei Pan
Optics & Laser Technology, 204:116090

In one sentenceTwo-stage calibration for line-laser 3D sensors: one rational polynomial mapping keeps pixel-to-physical conversion accurate across a 150 mm depth range, and one inverse rotation removes installation shear at every depth.

The problem

A line-laser profiler measures a surface by triangulation. A camera watches the laser stripe on the object and converts each stripe pixel (u, v) into physical coordinates (X, Z) in the laser plane. A full 3D point cloud is then built by stitching many such profiles while a motion stage scans the part. Measurement accuracy is therefore set by calibration, and two different errors erode it across the working depth of field.

The first error is internal. Conventional calibration rests on a single-plane homography, a strictly linear pixel-to-physical mapping. In a real system, slight tilt of the lifting stage, local non-flatness of the target, radial and tangential lens distortion and stripe-centre extraction noise push the observations away from that ideal perspective, and a pure homography cannot represent the non-linear deviation. The second error is external. If the sensor is not aligned with the motion axis, the stitched cloud carries a systematic shear, and an orthogonal rectangle comes out as a parallelogram. Tuning intrinsics or distortion coefficients cannot remove this shear, and correcting each depth with its own parameters multiplies the parameter count. Existing pipelines usually address either the internal mapping or the external installation geometry, and their joint effect across the depth of field is seldom modelled.

Two grayscale checkerboard scans with a 4 by 4 block of cells outlined in red. Left, labelled Proper installation: the outlined cells form a regular square grid. Right, labelled Tilted installation: the outlined block is distorted, with its horizontal lines slanted and its corners no longer at right angles.
A checkerboard scanned with proper installation (left) and with a tilted installation (right). The tilt turns the reconstructed grid into a parallelogram. Fig. 2(b) of the paper.

How it works

The method handles the two errors in two separate stages. The internal stage is a one-off factory calibration that fixes the pixel-to-physical mapping inside each profile. The external stage is an on-site compensation that removes the installation shear from the stitched cloud. An automated, motion-triggered workflow runs both, so no manual multi-pose target placement is needed.

  1. Sample the full depth range. The camera and line laser are mounted on a precision Z-axis stage that moves through programmed positions. At each height the system captures a laser-on/laser-off image pair, which yields a clean stripe centreline. In the experiments, six depths Z1–Z6 are spaced 30 mm apart over a 150 mm range. Five are used for fitting, and Z3 is held out for testing.
  2. Fit one rational polynomial mapping. The model keeps the perspective (homography) backbone and adds a bivariate cubic residual in the height direction. Merged into one ratio, it maps (u, v) to X and to Z with a cubic numerator over a shared linear denominator, 22 coefficients in total. Cross-multiplying makes the problem linear, and the correspondences from all training depths form one overdetermined system, solved by least squares.
  3. Model the shear. The installation error is split into three rotations: roll α, pitch β and yaw γ. With a yaw angle γ, a scan step Δy pushes points sideways by Δx = Δy tan γ, so a rectangle turns into a parallelogram. In the tested push-broom setup, pitch rotates the laser plane about its own axial direction and causes no in-plane shear, so β is set to zero.
  4. Measure α and γ. A RANSAC line fit to a scan of the empty platform gives a reference line L. Roll comes from a standard height block of nominal height H and width W: α = arctan((H′ − H) / W), where H′ is the measured mean height of its upper face above L. Yaw comes from a checkerboard: requiring adjacent edges of a corrected cell to be perpendicular gives a quadratic equation in sin γ. It is solved for every interior 2 × 2 corner cell, and the median is used.
  5. Undo the rotation, once for all depths. Every point is mapped through the inverse rotation in Z–Y–X order, Rx(α) Ry(β) Rz(γ), which reduces to Rx(α) Rz(γ) with β = 0. The correction does not depend on depth, so angles estimated once at Z3 are reused across the whole volume.
Two-row workflow diagram. Stage 1, Factory Calibration: a camera and laser on a Z-stage platform, a stack of checkerboard images at several Z positions, laser on and off frames, feature extraction of (u, v), the rational X and Z equations, and a box labelled 22 RPC. Stage 2, On-site Compensation: scanning a checkerboard target, mapping its corners to a colour depth image, a deflection-angle diagram with alpha, beta and gamma, the coordinate correction equation with R x, R y and R z, and before and after checkerboard images.
The end-to-end workflow. Stage 1 (factory calibration): multi-depth acquisition on the Z-stage, laser-on/off image pairs, feature extraction and the fit of the 22 RPC coefficients. Stage 2 (on-site compensation): a scanned checkerboard is mapped to the depth image, the deflection angles are computed, and the inverse rotation corrects the coordinates. Fig. 5 of the paper.

Results

All experiments use one commercial line-laser profiler (OPT-LPF2-006-01) on a programmable Z-stage and a push-broom rig. Ground truth comes from certified standards: a grid distortion target with a 49 × 49 dot array at 1 mm pitch, a metal checkerboard with 25 mm cells, a 25° standard angle block and a height block. For the internal stage, the HALCON baseline and the proposed mapping used the same image stack, the same stripe-centre extractor and the same train/test depth split. Besides the lower mean absolute errors, the proposed mapping improved repeatability by 33.8% in X and 70.0% in Z. The largest gain is in Z repeatability, the metric most sensitive to height-direction nonlinearity, which the cubic residual is designed to absorb.

A sweep over the residual order supports the cubic choice: a quadratic residual underfits, and a quartic one reaches the lowest training error, but its held-out error rises to 12.155 µm in X and 5.130 µm in Z, against 8.745 and 3.820 µm for the cubic residual (Table 11).

Two bar charts. Left, Lower is better: grey HALCON baseline bars and blue Proposed bars for R X (7.18 vs 4.75), R Z (0.82 vs 0.25), MAE X (10.60 vs 8.74) and MAE Z (4.33 vs 3.82), in micrometres. Right, Higher is better: relative improvement of 33.8, 70.0, 17.5 and 11.8 percent.
Internal calibration accuracy on the held-out depth: (a) repeatability R and mean absolute error for the HALCON baseline and the proposed RPC mapping, in µm; (b) relative improvement of the proposed mapping. Fig. 8 of the paper.

For the external stage, the sensor was deliberately tilted (roll α ≈ 5°, yaw γ ≈ 10°) and measured at all six depths in three states: normal installation, tilted without compensation, and tilted with compensation, with 10 trials each. Compared with normal installation, the tilt raised the angle-block error by a factor of 18.84 and the orthogonality error by a factor of 31.87. With the angles frozen from Z3, compensation brought both back to the level of normal installation (0.96× and 0.98× of it). The per-depth reduction stayed within 94.69%–95.04% for the angle and 96.87%–96.97% for orthogonality, so one compensator handles every depth without retuning.

Left: line chart of orthogonality error on a log scale across depths Z1 to Z6. The red tilted, uncompensated line stays near 10 degrees; the grey dashed normal-installation line and the blue tilted, compensated line overlap near 0.3 degrees. Right: bar chart of error reduction per depth, between 96.87 and 96.97 percent, with a dashed mean line at 96.92 percent.
Checkerboard orthogonality error across depths Z1–Z6: (a) the three installation states (log scale), where the compensated curve overlaps the normal-installation reference; (b) the error reduction at each depth. Fig. 12 of the paper.
Six colour-coded height maps of a checkerboard with a thin red bar on it, in a grid of two rows and three columns labelled Z1, Z2 and Z3. The top row is labelled Uncompensated and the bottom row Compensated.
Stitched point clouds of the checkerboard-plus-block scene at depths Z1–Z3, uncompensated (top) and compensated (bottom). Uncompensated, the lattice is sheared into a non-orthogonal parallelogram; compensated, it is restored to an orthogonal grid. The red element is the 25° standard angle block. Cropped from Fig. 14 of the paper, which shows all six depths.

Both stages are needed. With the external compensator disabled, the mapping errors match the full pipeline, but the angle and orthogonality errors stay at their uncompensated levels. With HALCON’s mapping plus the external compensator, the geometric errors drop to 0.0506° and 0.519°, but stay above the full pipeline’s 0.0387° and 0.309°, and the mapping errors return to the baseline (Table 10). The compensator also kept working beyond the vendor’s nominal 5° mounting tolerance: at Z3, with roll swept up to 20° at a yaw of about 10°, the corrected angle error stayed within 0.037°–0.101° and the orthogonality error within 0.16°–0.59° (Table 9). The numerical part of a full calibration takes about 2.3 s, and the total of about 11 minutes is dominated by physical scanning (Table 12).

The authors scope these results to the single tested device and working-distance range. Validation on a second camera, additional standard angles and the repeatability of the estimated angles across independent re-mountings are left to future work.

Cite

@article{cao2026depth,
  title={Depth-adaptive calibration of line-laser 3D measurement systems using rational polynomial mapping and depth-independent misalignment compensation},
  author={Cao, Ling and Lin, Zidong and Yang, Yong and Tang, Quan and Gao, Zhipeng and Feng, Daquan and Pan, Wei},
  journal={Optics \& Laser Technology},
  volume={204},
  pages={116090},
  year={2026},
  doi={10.1016/j.optlastec.2026.116090},
  publisher={Elsevier}
}
Type
Article Journal
Topic
Industrial Inspection
Venue
Optics & Laser Technology, 204:116090
Year
2026
DOI