Structured Light API#

Detailed Description#

Structured light is considered one of the most effective techniques to acquire 3D models. This technique is based on projecting a light pattern and capturing the illuminated scene from one or more points of view. Since the pattern is coded, correspondences between image points and points of the projected pattern can be quickly found and 3D information easily retrieved.

One of the most commonly exploited coding strategies is based on trmatime-multiplexing. In this case, a set of patterns are successively projected onto the measuring surface. The codeword for a given pixel is usually formed by the sequence of illuminance values for that pixel across the projected patterns. Thus, the codification is called temporal because the bits of the codewords are multiplexed in time pattern .

In this module a time-multiplexing coding strategy based on Gray encoding is implemented following the (stereo) approach described in 3DUNDERWORLD algorithm [139] . For more details, see tutorial_structured_light.

Classes#

Name

Description

class cv::structured_light::GrayCodePattern

Class implementing the Gray-code pattern, based on [139]. View details

class cv::structured_light::SinusoidalPattern

Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fourier-assisted phase-shifting profilometry (FAPS) based on faps. View details

class cv::structured_light::StructuredLightPattern

Abstract base class for generating and decoding structured light patterns. View details

Enumerations#

Type of sinusoidal pattern profilometry methods. View details

Type of the decoding algorithm. View details

Enumeration Type Documentation#

enum#

#include <opencv2/structured_light/sinusoidalpattern.hpp>

Type of sinusoidal pattern profilometry methods.

Enumerator:

FTP

PSP

FAPS

enum#

#include <opencv2/structured_light/structured_light.hpp>

Type of the decoding algorithm.

Enumerator:

DECODE_3D_UNDERWORLD

Kyriakos Herakleous, Charalambos Poullis. “3DUNDERWORLD-SLS: An Open-Source Structured-Light Scanning System for Rapid Geometry Acquisition”, arXiv preprint arXiv:1406.6595 (2014).