Table of Contents

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

patternImages IEnumerable<Mat>

Captured Gray-code pattern sequence.

x int

Camera pixel x coordinate.

y int

Camera pixel y coordinate.

projectorPixel Point

Decoded projector coordinate.

Returns

bool

True when the coordinate is decoded successfully.