Method Decode
- Namespace
- OpenCvSharp.StructuredLight
- Assembly
- OpenCvSharp.dll
Decode(IEnumerable<IEnumerable<Mat>>, OutputArray, IEnumerable<Mat>, IEnumerable<Mat>)
Decodes structured-light images captured by a stereo camera pair.
public virtual bool Decode(IEnumerable<IEnumerable<Mat>> patternImages, OutputArray disparityMap, IEnumerable<Mat> blackImages, IEnumerable<Mat> whiteImages)
Parameters
patternImagesIEnumerable<IEnumerable<Mat>>Two sets of captured pattern images, one set for each camera.
disparityMapOutputArrayOutput CV_64F disparity map.
blackImagesIEnumerable<Mat>Black reference image for each camera.
whiteImagesIEnumerable<Mat>White reference image for each camera.
Returns
- bool
True when decoding succeeds.