Abstract
Traditional structured light 3D reconstruction relies on complex mathematical phase-shifting algorithms that are often susceptible to environmental noise and geometric distortions. This paper proposes an end-to-end multi-convolutional neural network (CNN) approach to map 2D modulated images directly into 3D point clouds. By employing parallel multi-scale kernels and robust loss functions, the model achieves high precision and environmental resilience, outperforming standard industrial depth sensors like the Intel RealSense.
Introduction
Structured light 3D reconstruction is a cornerstone of optical metrology. The process involves projecting a known pattern, typically sinusoidal stripes, onto an object's surface. A camera captures the deformation of these stripes, and mathematical algorithms calculate the depth information based on the phase shift.
Despite its theoretical precision, two major challenges persist in real-world applications:
- Environmental Noise: Electronic interference and ambient light fluctuations distort captured images, introducing noise into the resulting point clouds.
- Geometric Complexity: Steep surface angles and complex shapes make it difficult for traditional algorithms to resolve projected stripes mathematically.
Methodology
The authors address these challenges by replacing traditional phase-shifting math with a specialized multi-scale CNN architecture designed for feature extraction and nonlinear regression.
Multi-Scale Feature Extraction
The core of the network is a parallel feature extraction layer. Instead of a single kernel size, the network uses $3 \times 3$, $5 \times 5$, and $7 \times 7$ filters simultaneously. This design allows the model to capture "coarse" features (global geometry and edges) and "fine" features (surface textures and subtle depth variations) in a single pass.
Technical Optimizations
- Activation Function: The Parametric Rectified Linear Unit (PReLU) is used to prevent gradient vanishing, ensuring stable training and faster convergence compared to standard ReLU or Sigmoid functions.
- Loss Function: The BerHu (Reverse Huber) loss function was selected to optimize point-cloud data. It acts as an $L_1$ loss for small residuals and an $L_2$ loss for larger ones, providing robustness against depth outliers.
- End-to-End Mapping: The final $1 \times 1$ convolution layer compresses the multi-channel feature maps into a single-channel depth map, representing the reconstructed 3D point cloud.
Experimental Results
The model was trained on a custom dataset featuring four gypsum geometric models: a cuboid, a cylinder, a cone, and a beveled cylinder. Images were captured at $1920 \times 1200$ resolution using a Canon EOS550D camera and a BenQ projector.
Benchmarking against the Intel RealSense depth camera using a beveled cylinder test case revealed significant improvements in accuracy:
| Metric | Proposed Algorithm Error |
|---|---|
| Radius Error | 0.52% |
| Height Error | 2.07% |
| Bevel Angle Error | 2.43% |
The CNN-based approach effectively filtered out environmental interference, producing smoother contours on complex inclined surfaces where traditional methods often fail.
Conclusion
This research demonstrates that deep learning can significantly enhance the robustness of structured light 3D measurement. By learning the direct mapping from distorted patterns to geometry, the multi-scale CNN bypasses the limitations of traditional phase-shifting. Future work will focus on optimizing computational speed for real-time industrial applications and expanding the model's capability to handle highly irregular, non-convex organic shapes.
Summary updated