我已经构建了openCV版本2.4.9。我想修改ORB库以进行检测和计算功能。
orb.detect(img_object, keypoints_object)
orb.compute(img_object, keypoints_object, descriptors_object)
我试图在orb.cpp
\opencv\sources\modules\features2d\src
中搜索它,但我没有找到这些功能。有谁知道如何找到这些功能?
答案 0 :(得分:0)
基本界面应该在
中 opencv/sources/modules/features2d/src/detectors.cpp
为void FeatureDetector::detect( const Mat& image, vector<KeyPoint>& keypoints, const Mat& mask )
opencv\sources\modules\features2d\src\descriptors.cpp
和void DescriptorExtractor::compute( const Mat& image, vector<KeyPoint>& keypoints, Mat& descriptors )