filterHomographyDecompByVisibleRefpointsAsync function
Future<Mat>
filterHomographyDecompByVisibleRefpointsAsync(
- VecMat rotations,
- VecMat normals,
- InputArray beforePoints,
- InputArray afterPoints, {
- OutputArray? possibleSolutions,
- InputArray? pointsMask,
Filters homography decompositions based on additional information.
void cv::filterHomographyDecompByVisibleRefpoints (InputArrayOfArrays rotations, InputArrayOfArrays normals, InputArray beforePoints, InputArray afterPoints, OutputArray possibleSolutions, InputArray pointsMask=noArray())
https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html#ga32f867159200f7bd55e72dca92d8494c
Implementation
Future<Mat> filterHomographyDecompByVisibleRefpointsAsync(
VecMat rotations,
VecMat normals,
InputArray beforePoints,
InputArray afterPoints, {
OutputArray? possibleSolutions,
InputArray? pointsMask,
}) async {
possibleSolutions ??= Mat.empty();
pointsMask ??= Mat.empty();
return cvRunAsync0(
(callback) => ccalib3d.cv_filterHomographyDecompByVisibleRefpoints(
rotations.ref,
normals.ref,
beforePoints.ref,
afterPoints.ref,
possibleSolutions!.ref,
pointsMask!.ref,
callback,
),
(c) => c.complete(possibleSolutions!),
);
}