Method GetMatch
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
GetMatch(int, int)
Specify pixel coordinates in the left image and get its corresponding location in the right image. This method should be always called after Process(Mat, Mat), otherwise the matches will not be correct.
public virtual Point2f GetMatch(int x, int y)
Parameters
xintThe x pixel coordinate in the left image channel.
yintThe y pixel coordinate in the left image channel.
Returns
- Point2f
The location of the corresponding pixel in the right image, or (0, 0) if no match is found.