3 #include <opencv2/opencv.hpp>
4 #include <opencv2/stitching.hpp>
28 cv::Mat &keypoints, cv::Mat &descriptors);
33 bool compute_bow_feature(
const cv::Mat& descriptors,
const cv::Ptr<cv::DescriptorMatcher> &matcher,
34 cv::Mat& bow_descriptors, std::shared_ptr< std::vector<std::vector<uint32_t> > > cluster_indices);
42 cv::Mat
merge_descriptors(std::vector<cv::Mat> &descriptors,
bool release_original =
true);
47 void geo_verify_h(
const cv::Mat &descriptors0,
const cv::Mat &points0,
48 const cv::Mat &descriptors1,
const cv::Mat &points1, cv::detail::MatchesInfo &matches_info,
49 std::vector<uint32_t> *inliers0 = 0, std::vector<uint32_t> *inliers1 = 0);
54 void geo_verify_f(
const cv::Mat &descriptors0,
const cv::Mat &points0,
55 const cv::Mat &descriptors1,
const cv::Mat &points1, cv::detail::MatchesInfo &matches_info,
56 std::vector<uint32_t> *inliers0 = 0, std::vector<uint32_t> *inliers1 = 0);
60 bool is_good_match(
const cv::detail::MatchesInfo &matches_info);