Function compute_inliers_ransac¶
Defined in File utils.h
Function Documentation¶
-
void
compute_inliers_ransac
(const std::vector<cv::Point2f> &matches, std::vector<cv::Point2f> &inliers, const float error, const bool use_fund)¶ This function computes the set of inliers estimating the fundamental matrix or a planar homography in a RANSAC procedure.
- Parameters
matches
: Vector of putative matchesinliers
: Vector of inlierserror
: The minimum pixelic error to accept an inlieruse_fund
: Set to true if you want to compute a fundamental matrix