Structured Light
This code will reconstruct a scene from multiple structured light scannings of it.
-
Calibrate projector with the “easy” method. Use ray-plane intersection. Get 2D-3D correspondence and use stereo calibration
-
Correlate code with (x,y) position - there is a "codebook" from binary code -> (x,y)
-
With 2D-2D correspondence, perform stereo triangulation (existing function) to get a depth map