Function draw_inliers(const cv::Mat&, const cv::Mat&, cv::Mat&, const std::vector<cv::Point2f>&, int)

Function Documentation

void draw_inliers(const cv::Mat &img1, const cv::Mat &img2, cv::Mat &img_com, const std::vector<cv::Point2f> &ptpairs, int color)

This function draws the set of the inliers between the two images.

Parameters
  • img1: First image

  • img2: Second image

  • img_com: Image with the inliers

  • ptpairs: Vector of point pairs with the set of inliers

  • color: The color for each method