Class StructuredLightInvoke
- Namespace
- Emgu.CV.StructuredLight
- Assembly
- Emgu.CV.dll
Provide interfaces to the Open CV StructuredLight functions
public static class StructuredLightInvoke
- Inheritance
-
StructuredLightInvoke
- Inherited Members
Methods
Decode(IStructuredLightPattern, VectorOfVectorOfMat, IOutputArray, IInputArrayOfArrays, IInputArrayOfArrays, DecodeFlag)
Decodes the structured light pattern, generating a disparity map.
public static bool Decode(this IStructuredLightPattern structuredLightPattern, VectorOfVectorOfMat patternImages, IOutputArray disparityMap, IInputArrayOfArrays blackImages = null, IInputArrayOfArrays whiteImages = null, DecodeFlag flags = DecodeFlag.Decode3dUnderworld)
Parameters
structuredLightPattern
IStructuredLightPatternThe strucutred light pattern
patternImages
VectorOfVectorOfMatThe acquired pattern images to decode VectorOfVectorOfMat), loaded as grayscale and previously rectified.
disparityMap
IOutputArrayThe decoding result: a CV_64F Mat at image resolution, storing the computed disparity map.
blackImages
IInputArrayOfArraysThe all-black images needed for shadowMasks computation.
whiteImages
IInputArrayOfArraysThe all-white images needed for shadowMasks computation.
flags
DecodeFlagFlags setting decoding algorithms.
Returns
- bool
True if successful.
Generate(IStructuredLightPattern, IOutputArrayOfArrays)
Generates the structured light pattern to project.
public static bool Generate(this IStructuredLightPattern structuredLightPattern, IOutputArrayOfArrays patternImages)
Parameters
structuredLightPattern
IStructuredLightPatternThe strucutred light pattern
patternImages
IOutputArrayOfArraysThe generated pattern: a VectorOfMat, in which each image is a CV_8U Mat at projector's resolution.
Returns
- bool
True if successful.