now BA in opencv_stitching uses only geometrically consistent matches

This commit is contained in:
Alexey Spizhevoy
2011-05-06 07:14:36 +00:00
parent 15173fc559
commit 29b917a500
3 changed files with 12 additions and 14 deletions

View File

@@ -44,6 +44,7 @@ struct MatchesInfo
int src_img_idx, dst_img_idx; // Optional images indices
std::vector<cv::DMatch> matches;
std::vector<uchar> inliers_mask;
int num_inliers; // Number of geometrically consistent matches
cv::Mat H; // Homography
};