Method TryGetProjectorPixel
- Namespace
- OpenCvSharp.StructuredLight
- Assembly
- OpenCvSharp.dll
TryGetProjectorPixel(IEnumerable<Mat>, int, int, out Point)
Decodes the projector coordinate corresponding to a camera pixel.
public bool TryGetProjectorPixel(IEnumerable<Mat> patternImages, int x, int y, out Point projectorPixel)
Parameters
patternImagesIEnumerable<Mat>Captured Gray-code pattern sequence.
xintCamera pixel x coordinate.
yintCamera pixel y coordinate.
projectorPixelPointDecoded projector coordinate.
Returns
- bool
True when the coordinate is decoded successfully.