correctMatches function
(Mat, Mat)
correctMatches(
- Mat F,
- InputArray points1,
- InputArray points2, {
- OutputArray? newPoints1,
- OutputArray? newPoints2,
Refines coordinates of corresponding points.
void cv::correctMatches (InputArray F, InputArray points1, InputArray points2, OutputArray newPoints1, OutputArray newPoints2);
https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html#gaf32c99d17908e175ac71e7a08fad587b
Implementation
(Mat newPoints1, Mat newPoints2) correctMatches(
Mat F,
InputArray points1,
InputArray points2, {
OutputArray? newPoints1,
OutputArray? newPoints2,
}) {
newPoints1 ??= Mat.empty();
newPoints2 ??= Mat.empty();
cvRun(
() => ccalib3d.cv_correctMatches(
F.ref,
points1.ref,
points2.ref,
newPoints1!.ref,
newPoints2!.ref,
ffi.nullptr,
),
);
return (newPoints1, newPoints2);
}