level 1
就是我要调用这个函数,然后准备找两张图的对应特征点,在运行完这个函数return的时候,就会报错“
Windows 已在 sift2.exe 中触发一个断点。
其原因可能是堆被损坏,这说明 sift2.exe 中或它所加载的任何 DLL 中有 Bug。
原因也可能是用户在 sift2.exe 具有焦点时按下了 F12。
输出窗口可能提供了更多诊断信息。
”
2015年12月09日 07点12分
2
level 7
//暴力匹配
BruteForceMatcher<L2<float>> matcher;
vector<DMatch> matches;
matcher.match(descriptor1, descriptor2, matches);
//挑选匹配的最好的前100个
nth_element(matches.begin(), matches.begin() + 99, matches.end());
matches.erase(matches.begin() + 99, matches.end());
//使用基础矩阵、单应性矩阵的RANSAC算法去除误匹配点对
runRANSAC(matches, image1KeyPoint, image2KeyPoint);
//画出匹配线
Mat image_matched;
drawMatches(imageOutput1, image1KeyPoint, imageOutput2, image2KeyPoint, matches, image_matched);
imshow("image1", imageOutput1);
imshow("image2", imageOutput2);
imshow("匹配图", image_matched);
waitKey(0);
2017年05月04日 02点05分
8
被系统删贴了
2017年05月04日 02点05分