2

BRISK 的默认大小为 512 位。如何生成 1024 位描述符?

我的部分代码:

...
// create the detector
cv::Ptr<cv::FeatureDetector> detector = new cv::BriskFeatureDetector(threshold, numOctaves);
// create the descriptor extractor - scale invariant and rotation invariant
cv::Ptr<cv::BriskDescriptorExtractor> descriptorExtractor = new cv::BriskDescriptorExtractor();
...
// detect keypoints
detector->detect(imgGray,keypoints);
// extract descriptor
descriptorExtractor->compute(imgGray, keypoints, descriptors);
...
4

0 回答 0