Function compute_inliers_homography

Function Documentation

void compute_inliers_homography(const std::vector<cv::Point2f> &matches, std::vector<cv::Point2f> &inliers, const cv::Mat &H, const float min_error)

This function computes the set of inliers given a ground truth homography.

  • matches: Vector of putative matches

  • inliers: Vector of inliers

  • H: Ground truth homography matrix 3x3

  • min_error: The minimum pixelic error to accept an inlier