STRUCTURED LIGHT BASED 3D SCANNING FOR SPECULAR SURFACE BY THE COMBINATION OF GRAY CODE AND PHASE SHIFTING

Yujia Zhang, Alper Yılmaz2016

Abstract

Surface reconstruction using coded structured light is considered one of the most reliable techniques for high-quality 3D scanning. With a calibrated projector-camera stereo system, a light pattern is projected onto the scene and imaged by the camera. Correspondences between projected and recovered patterns are computed in the decoding process, which is used to generate 3D point cloud of the surface. However, the indirect illumination effects on the surface, such as subsurface scattering and interreflections, will raise the difficulties in reconstruction. In this paper, we apply maximum min-SW gray code to reduce the indirect illumination effects of the specular surface. We also analysis the errors when comparing the maximum min-SW gray code and the conventional gray code, which justifies that the maximum min-SW gray code has significant superiority to reduce the indirect illumination effects. To achieve sub-pixel accuracy, we project high frequency sinusoidal patterns onto the scene simultaneously. But for specular surface, the high frequency patterns are susceptible to decoding errors. Incorrect decoding of high frequency patterns will result in a loss of depth resolution. Our method to resolve this problem is combining the low frequency maximum min-SW gray code and the high frequency phase shifting code, which achieves dense 3D reconstruction for specular surface.

Introduction

Structured light 3D scanning works by projecting known patterns onto an object and capturing how those patterns deform using a camera. By matching pixels in the camera to the projected pattern (finding "correspondences"), the system can triangulate the object's depth. However, this process often breaks down when dealing with specular surfaces, such as polished metal or glossy plastic. These surfaces create indirect illumination effects like interreflections, where light bounces between parts of the object, and subsurface scattering, where light blurs across the material. Standard Gray codes and high-frequency phase shifting are highly susceptible to these errors, resulting in data "holes" or noisy point clouds.

Methodology

To address these challenges, this research proposes a hybrid approach that leverages the strengths of two different coding strategies. The core innovation is using a robust "Maximum min-SW" Gray code to resolve the ambiguity of high-precision phase shifting.

  • Maximum min-SW Gray Code: While standard Gray codes typically have a minimum stripe width of one pixel, the "min-SW" version used here ensures a minimum width of 8 pixels. This low-frequency approach is significantly more resistant to the blurring caused by indirect illumination because the stripes remain distinguishable even in the presence of scattering.
  • Micro Phase Shifting: To achieve high resolution, the system projects sinusoidal patterns. These provide sub-pixel accuracy but are inherently ambiguous. By using the robust Gray code as a "coarse" anchor, the system can reliably determine the correct phase cycle, allowing the phase shifting to provide the "fine" sub-pixel adjustment.
The experimental hardware setup consisting of a projector-camera stereo system.

The hardware setup consists of a standard projector-camera stereo system calibrated using local homographies to ensure high-precision alignment before scanning begins.

Experimental Evaluation

The system was evaluated using a custom-made physical object: a specular beam model with a known 37mm depth profile. This served as the ground truth for quantitative depth measurement, allowing the researchers to verify the accuracy of the reconstruction on highly reflective materials.

The specular beam model (left) and its geometric profile (right) used for ground truth verification.

Key Results and Insights

Visual comparisons of the generated point clouds demonstrate that the proposed method successfully fills in "holes" caused by reflections that stop conventional methods from working. The resulting meshes are significantly smoother and more complete. Quantitatively, the system successfully reconstructed the 37mm depth of the specular beam model, verifying that the sub-pixel accuracy of the phase shifting remained intact despite the challenging material.

Furthermore, the authors highlight that long-range effects (interreflections) typically plague low-frequency patterns, while short-range effects (scattering) disrupt high-frequency patterns. By mathematically optimizing the Gray code to have a larger minimum stripe width, the system becomes physically more resistant to the "optical noise" of shiny surfaces. This hybridization allows for dense reconstruction of surfaces that would otherwise be impossible to scan using a relatively small number of images.

Conclusion and Future Work

By anchoring high-precision phase shifting with robust, low-frequency Gray codes, this research enables dense 3D reconstruction of specular surfaces. While effective, the current implementation projects patterns in a single orientation. Future work will involve designing codewords that work in multiple directions or use radial functions to further improve accuracy. Additionally, while the method uses fewer images than some competitors, moving toward true real-time scanning of specular surfaces remains a primary goal. The system currently assumes a controlled lighting environment, though it is significantly more resilient to self-illumination errors than its predecessors.

Summary updated

BibTeX
@inproceedings{zhang2016structured,
  author = {Yujia Zhang and Alper Yılmaz},
  title = {{STRUCTURED LIGHT BASED 3D SCANNING FOR SPECULAR SURFACE BY THE COMBINATION OF GRAY CODE AND PHASE SHIFTING}},
  booktitle = {˜The},
  year = {2016},
  doi = {10.5194/isprs-archives-xli-b3-137-2016},
}
Figure