Abstract base class for generating and decoding structured light patterns.
More...
|
| bool | decode (List< List< Mat > > patternImages, Mat disparityMap) |
| | Decodes the structured light pattern, generating a disparity map.
|
| |
| bool | decode (List< List< Mat > > patternImages, Mat disparityMap, List< Mat > blackImages) |
| | Decodes the structured light pattern, generating a disparity map.
|
| |
| bool | decode (List< List< Mat > > patternImages, Mat disparityMap, List< Mat > blackImages, List< Mat > whiteImages) |
| | Decodes the structured light pattern, generating a disparity map.
|
| |
| bool | decode (List< List< Mat > > patternImages, Mat disparityMap, List< Mat > blackImages, List< Mat > whiteImages, int flags) |
| | Decodes the structured light pattern, generating a disparity map.
|
| |
| bool | generate (List< Mat > patternImages) |
| | Generates the structured light pattern to project.
|
| |
| virtual void | clear () |
| | Clears the algorithm state.
|
| |
| virtual bool | empty () |
| | Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
| |
| virtual string | getDefaultName () |
| |
| IntPtr | getNativeObjAddr () |
| |
| void | save (string filename) |
| |
| void | Dispose () |
| |
| void | ThrowIfDisposed () |
| |
Abstract base class for generating and decoding structured light patterns.
◆ __fromPtr__()
| static new StructuredLightPattern OpenCVForUnity.Structured_lightModule.StructuredLightPattern.__fromPtr__ |
( |
IntPtr | addr | ) |
|
|
static |
◆ decode() [1/4]
| bool OpenCVForUnity.Structured_lightModule.StructuredLightPattern.decode |
( |
List< List< Mat > > | patternImages, |
|
|
Mat | disparityMap ) |
Decodes the structured light pattern, generating a disparity map.
- Parameters
-
| patternImages | The acquired pattern images to decode (vector<vector<Mat>>), loaded as grayscale and previously rectified. |
| disparityMap | The decoding result: a CV_64F Mat at image resolution, storing the computed disparity map. |
| blackImages | The all-black images needed for shadowMasks computation. |
| whiteImages | The all-white images needed for shadowMasks computation. |
| flags | Flags setting decoding algorithms. Default: DECODE_3D_UNDERWORLD. |
All the images must be at the same resolution.
◆ decode() [2/4]
| bool OpenCVForUnity.Structured_lightModule.StructuredLightPattern.decode |
( |
List< List< Mat > > | patternImages, |
|
|
Mat | disparityMap, |
|
|
List< Mat > | blackImages ) |
Decodes the structured light pattern, generating a disparity map.
- Parameters
-
| patternImages | The acquired pattern images to decode (vector<vector<Mat>>), loaded as grayscale and previously rectified. |
| disparityMap | The decoding result: a CV_64F Mat at image resolution, storing the computed disparity map. |
| blackImages | The all-black images needed for shadowMasks computation. |
| whiteImages | The all-white images needed for shadowMasks computation. |
| flags | Flags setting decoding algorithms. Default: DECODE_3D_UNDERWORLD. |
All the images must be at the same resolution.
◆ decode() [3/4]
| bool OpenCVForUnity.Structured_lightModule.StructuredLightPattern.decode |
( |
List< List< Mat > > | patternImages, |
|
|
Mat | disparityMap, |
|
|
List< Mat > | blackImages, |
|
|
List< Mat > | whiteImages ) |
Decodes the structured light pattern, generating a disparity map.
- Parameters
-
| patternImages | The acquired pattern images to decode (vector<vector<Mat>>), loaded as grayscale and previously rectified. |
| disparityMap | The decoding result: a CV_64F Mat at image resolution, storing the computed disparity map. |
| blackImages | The all-black images needed for shadowMasks computation. |
| whiteImages | The all-white images needed for shadowMasks computation. |
| flags | Flags setting decoding algorithms. Default: DECODE_3D_UNDERWORLD. |
All the images must be at the same resolution.
◆ decode() [4/4]
| bool OpenCVForUnity.Structured_lightModule.StructuredLightPattern.decode |
( |
List< List< Mat > > | patternImages, |
|
|
Mat | disparityMap, |
|
|
List< Mat > | blackImages, |
|
|
List< Mat > | whiteImages, |
|
|
int | flags ) |
Decodes the structured light pattern, generating a disparity map.
- Parameters
-
| patternImages | The acquired pattern images to decode (vector<vector<Mat>>), loaded as grayscale and previously rectified. |
| disparityMap | The decoding result: a CV_64F Mat at image resolution, storing the computed disparity map. |
| blackImages | The all-black images needed for shadowMasks computation. |
| whiteImages | The all-white images needed for shadowMasks computation. |
| flags | Flags setting decoding algorithms. Default: DECODE_3D_UNDERWORLD. |
All the images must be at the same resolution.
◆ Dispose()
| override void OpenCVForUnity.Structured_lightModule.StructuredLightPattern.Dispose |
( |
bool | disposing | ) |
|
|
protectedvirtual |
◆ generate()
| bool OpenCVForUnity.Structured_lightModule.StructuredLightPattern.generate |
( |
List< Mat > | patternImages | ) |
|
Generates the structured light pattern to project.
- Parameters
-
| patternImages | The generated pattern: a vector<Mat>, in which each image is a CV_8U Mat at projector's resolution. |
The documentation for this class was generated from the following file: