Method FilterHomographyDecompByVisibleRefpoints
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
FilterHomographyDecompByVisibleRefpoints(IEnumerable<Mat>, IEnumerable<Mat>, InputArray, InputArray, OutputArray, InputArray)
Filters homography decompositions based on additional information.
public static void FilterHomographyDecompByVisibleRefpoints(IEnumerable<Mat> rotations, IEnumerable<Mat> normals, InputArray beforePoints, InputArray afterPoints, OutputArray possibleSolutions, InputArray pointsMask = default)
Parameters
rotationsIEnumerable<Mat>Vector of rotation matrices.
normalsIEnumerable<Mat>Vector of plane normal matrices.
beforePointsInputArrayVector of (rectified) visible reference points before the homography is applied
afterPointsInputArrayVector of (rectified) visible reference points after the homography is applied
possibleSolutionsOutputArrayVector of int indices representing the viable solution set after filtering
pointsMaskInputArrayoptional Mat/Vector of 8u type representing the mask for the inliers as given by the findHomography function