#pragma once #include #include #include #include #include using namespace std; using namespace cv; using namespace cv::xfeatures2d; Mat Conv2(const Mat &img, const Mat &ikernel); void GaussianSmooth(Mat src, Mat dst, float sigma); void ORBMatch(Mat img1, Mat img2, vector& keypoints1, vector& keypoints2, vector& bestMatches); void SURFMatch(Mat img1, Mat img2, vector& keypoints1, vector& keypoints2, vector& bestMatches); void SIFTMatch(Mat img1, Mat img2, vector& keypoints1, vector& keypoints2, vector& bestMatches); vector RatioTest(vector> matches12, double ratio); vector SymmetricTest(vector goodMatches1, vector goodMatches2); vector FilterDistance(Mat descriptors, vector matches);