简体   繁体   中英

how to modify ORB source in opencv 2.4.9?

i have built the openCV version 2.4.9. I want to modify the ORB library for detect and compute function.

orb.detect(img_object, keypoints_object)
orb.compute(img_object, keypoints_object, descriptors_object)

i tried to search it in orb.cpp in \\opencv\\sources\\modules\\features2d\\src but i didn't found these functions. Anyone know how to find these functions?

The basic interface should be in

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

same for opencv\\sources\\modules\\features2d\\src\\descriptors.cpp and void DescriptorExtractor::compute( const Mat& image, vector<KeyPoint>& keypoints, Mat& descriptors )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM