42#ifndef __OPENCV_SINUSOIDAL_PATTERN_HPP__
43#define __OPENCV_SINUSOIDAL_PATTERN_HPP__
45#include "opencv2/core.hpp"
46#include "opencv2/imgproc.hpp"
47#include "opencv2/structured_light/structured_light.hpp"
48#include <opencv2/phase_unwrapping.hpp>
49#include <opencv2/calib3d.hpp>
52namespace structured_light {
86 CV_PROP_RW
int height;
87 CV_PROP_RW
int nbrOfPeriods;
88 CV_PROP_RW
float shiftValue;
89 CV_PROP_RW
int methodId;
90 CV_PROP_RW
int nbrOfPixelsBetweenMarkers;
91 CV_PROP_RW
bool horizontal;
92 CV_PROP_RW
bool setMarkers;
93 std::vector<Point2f> markersLocation;
101 makePtr<SinusoidalPattern::Params>() );
113 InputArray fundamental = noArray()) = 0;
125 InputArray shadowMask = noArray() ) = 0;
133 virtual void findProCamMatches( InputArray projUnwrappedPhaseMap, InputArray camUnwrappedPhaseMap,
145 InputArray shadowMask ) = 0;
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
Template class for specifying the size of an image or rectangle.
Definition: core/types.hpp:316
Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fouri...
Definition: sinusoidalpattern.hpp:69
virtual CV_WRAP void computePhaseMap(InputArrayOfArrays patternImages, OutputArray wrappedPhaseMap, OutputArray shadowMask=noArray(), InputArray fundamental=noArray())=0
Compute a wrapped phase map from sinusoidal patterns.
virtual CV_WRAP void unwrapPhaseMap(InputArray wrappedPhaseMap, OutputArray unwrappedPhaseMap, cv::Size camSize, InputArray shadowMask=noArray())=0
Unwrap the wrapped phase map to remove phase ambiguities.
virtual CV_WRAP void computeDataModulationTerm(InputArrayOfArrays patternImages, OutputArray dataModulationTerm, InputArray shadowMask)=0
compute the data modulation term.
virtual CV_WRAP void findProCamMatches(InputArray projUnwrappedPhaseMap, InputArray camUnwrappedPhaseMap, OutputArrayOfArrays matches)=0
Find correspondences between the two devices thanks to unwrapped phase maps.
Abstract base class for generating and decoding structured light patterns.
Definition: structured_light/structured_light.hpp:62
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74
Parameters of SinusoidalPattern constructor
Definition: sinusoidalpattern.hpp:83