Table of Contents

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

rotations IEnumerable<Mat>

Vector of rotation matrices.

normals IEnumerable<Mat>

Vector of plane normal matrices.

beforePoints InputArray

Vector of (rectified) visible reference points before the homography is applied

afterPoints InputArray

Vector of (rectified) visible reference points after the homography is applied

possibleSolutions OutputArray

Vector of int indices representing the viable solution set after filtering

pointsMask InputArray

optional Mat/Vector of 8u type representing the mask for the inliers as given by the findHomography function