如何修改opencv 2.4.9中的ORB源?

时间:2016-05-03 06:50:36

标签: c++ opencv

我已经构建了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中搜索它,但我没有找到这些功能。有谁知道如何找到这些功能?

1 个答案:

答案 0 :(得分:0)

基本界面应该在

opencv/sources/modules/features2d/src/detectors.cppvoid FeatureDetector::detect( const Mat& image, vector<KeyPoint>& keypoints, const Mat& mask )

opencv\sources\modules\features2d\src\descriptors.cppvoid DescriptorExtractor::compute( const Mat& image, vector<KeyPoint>& keypoints, Mat& descriptors )

相同