我正在尝试开始使用(C++)OpenCv 进行筛选特征提取。我需要使用 SIFT 提取特征,将它们在原始图像(例如一本书)和场景之间进行匹配,然后计算相机姿势。
到目前为止我已经找到了这个算法 http://opencv.itseez.com/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html使用冲浪。有谁知道我可以开始的基本代码,或者可能是将链接中的算法从 SURF 转换为 SIFT 的方法?
提前致谢。
EDIT:好的,我找到了解决筛选问题的方法。现在我正在尝试确定相机的姿势。我正在尝试使用:solvePnP,有人可以帮我举个例子吗?
查看feature2d 教程部分 http://docs.opencv.org/doc/tutorials/features2d/table_of_content_features2d/table_of_content_features2d.html新的 OpenCV 文档网站。
有教程,代码显示:
-
特征检测 http://docs.opencv.org/doc/tutorials/features2d/feature_detection/feature_detection.html#feature-detection例如冲浪
- 功能描述 http://docs.opencv.org/doc/tutorials/features2d/feature_description/feature_description.html
- 特征匹配 http://docs.opencv.org/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html#feature-flann-matcher
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)