42#ifndef __OPENCV_GRAY_CODE_PATTERN_HPP__
43#define __OPENCV_GRAY_CODE_PATTERN_HPP__
45#include "opencv2/core.hpp"
46#include "opencv2/structured_light/structured_light.hpp"
49namespace structured_light {
143 virtual bool getProjPixel( InputArrayOfArrays patternImages,
int x,
int y, CV_OUT
Point &projPix )
const = 0;
Class implementing the Gray-code pattern, based on .
Definition: graycodepattern.hpp:69
virtual CV_WRAP size_t getNumberOfPatternImages() const =0
Get the number of pattern images needed for the graycode pattern.
virtual CV_WRAP void getImagesForShadowMasks(InputOutputArray blackImage, InputOutputArray whiteImage) const =0
Generates the all-black and all-white images needed for shadowMasks computation.
static Ptr< GrayCodePattern > create(const GrayCodePattern::Params ¶meters=GrayCodePattern::Params())
Constructor
virtual CV_WRAP void setWhiteThreshold(size_t value)=0
Sets the value for white threshold, needed for decoding.
virtual CV_WRAP void setBlackThreshold(size_t value)=0
Sets the value for black threshold, needed for decoding (shadowsmasks computation).
virtual CV_WRAP bool getProjPixel(InputArrayOfArrays patternImages, int x, int y, CV_OUT Point &projPix) const =0
For a (x,y) pixel of a camera returns the corresponding projector pixel.
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 StructuredLightPattern constructor.
Definition: graycodepattern.hpp:77