OpenCV453
クラス | 公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
cv::structured_light::SinusoidalPattern クラスabstract

Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fourier-assisted phase-shifting profilometry (FAPS) based on [faps]. [詳解]

#include <sinusoidalpattern.hpp>

cv::structured_light::StructuredLightPatternを継承しています。

クラス

struct  Params
 Parameters of SinusoidalPattern constructor [詳解]
 

公開メンバ関数

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 findProCamMatches (InputArray projUnwrappedPhaseMap, InputArray camUnwrappedPhaseMap, OutputArrayOfArrays matches)=0
 Find correspondences between the two devices thanks to unwrapped phase maps. [詳解]
 
virtual CV_WRAP void computeDataModulationTerm (InputArrayOfArrays patternImages, OutputArray dataModulationTerm, InputArray shadowMask)=0
 compute the data modulation term. [詳解]
 
- 基底クラス cv::structured_light::StructuredLightPattern に属する継承公開メンバ関数
virtual CV_WRAP bool generate (OutputArrayOfArrays patternImages)=0
 Generates the structured light pattern to project. [詳解]
 
virtual CV_WRAP bool decode (const std::vector< std::vector< Mat > > &patternImages, OutputArray disparityMap, InputArrayOfArrays blackImages=noArray(), InputArrayOfArrays whiteImages=noArray(), int flags=DECODE_3D_UNDERWORLD) const =0
 Decodes the structured light pattern, generating a disparity map [詳解]
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

静的公開メンバ関数

static CV_WRAP Ptr< SinusoidalPatterncreate (Ptr< SinusoidalPattern::Params > parameters=makePtr< SinusoidalPattern::Params >())
 Constructor. [詳解]
 
- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

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

This class generates sinusoidal patterns that can be used with FTP, PSP and FAPS.

関数詳解

◆ computeDataModulationTerm()

virtual CV_WRAP void cv::structured_light::SinusoidalPattern::computeDataModulationTerm ( InputArrayOfArrays  patternImages,
OutputArray  dataModulationTerm,
InputArray  shadowMask 
)
pure virtual

compute the data modulation term.

引数
patternImagescaptured images with projected patterns.
dataModulationTermMat where the data modulation term is saved.
shadowMaskMask used to discard shadow regions.

◆ computePhaseMap()

virtual CV_WRAP void cv::structured_light::SinusoidalPattern::computePhaseMap ( InputArrayOfArrays  patternImages,
OutputArray  wrappedPhaseMap,
OutputArray  shadowMask = noArray(),
InputArray  fundamental = noArray() 
)
pure virtual

Compute a wrapped phase map from sinusoidal patterns.

引数
patternImagesInput data to compute the wrapped phase map.
wrappedPhaseMapWrapped phase map obtained through one of the three methods.
shadowMaskMask used to discard shadow regions.
fundamentalFundamental matrix used to compute epipolar lines and ease the matching step.

◆ create()

static CV_WRAP Ptr< SinusoidalPattern > cv::structured_light::SinusoidalPattern::create ( Ptr< SinusoidalPattern::Params parameters = makePtr< SinusoidalPattern::Params >())
static

Constructor.

引数
parametersSinusoidalPattern parameters SinusoidalPattern::Params: width, height of the projector and patterns parameters.

◆ findProCamMatches()

virtual CV_WRAP void cv::structured_light::SinusoidalPattern::findProCamMatches ( InputArray  projUnwrappedPhaseMap,
InputArray  camUnwrappedPhaseMap,
OutputArrayOfArrays  matches 
)
pure virtual

Find correspondences between the two devices thanks to unwrapped phase maps.

引数
projUnwrappedPhaseMapProjector's unwrapped phase map.
camUnwrappedPhaseMapCamera's unwrapped phase map.
matchesImages used to display correspondences map.

◆ unwrapPhaseMap()

virtual CV_WRAP void cv::structured_light::SinusoidalPattern::unwrapPhaseMap ( InputArray  wrappedPhaseMap,
OutputArray  unwrappedPhaseMap,
cv::Size  camSize,
InputArray  shadowMask = noArray() 
)
pure virtual

Unwrap the wrapped phase map to remove phase ambiguities.

引数
wrappedPhaseMapThe wrapped phase map computed from the pattern.
unwrappedPhaseMapThe unwrapped phase map used to find correspondences between the two devices.
camSizeResolution of the camera.
shadowMaskMask used to discard shadow regions.

このクラス詳解は次のファイルから抽出されました: