Class GrayCodePattern
- Namespace
- OpenCvSharp.StructuredLight
- Assembly
- OpenCvSharp.dll
Gray-code structured-light pattern generator and decoder.
public sealed class GrayCodePattern : StructuredLightPattern, IDisposable
- Inheritance
-
GrayCodePattern
- Implements
- Inherited Members
Methods
- Create(int, int)
Creates a Gray-code pattern for a projector resolution.
- GetImagesForShadowMasks(OutputArray, OutputArray)
Generates black and white images used to compute shadow masks.
- GetNumberOfPatternImages()
Gets the number of Gray-code images required for projection and decoding.
- GetRequiredPatternImageCount()
Gets the required number of captured pattern images, when the implementation has a fixed sequence length.
- SetBlackThreshold(int)
Sets the minimum brightness difference between white and black reference images.
- SetWhiteThreshold(int)
Sets the minimum brightness difference between a pattern and its inverse.
- TryGetProjectorPixel(IEnumerable<Mat>, int, int, out Point)
Decodes the projector coordinate corresponding to a camera pixel.