1 | initial version |
"I want to extract SIFT descriptor from my choosen points." - No, you don't choose the points yourself, instead leave it to SIFT:
Ptr<FeatureDetector> detector = FeatureDetector::create( "SIFT" );
vector<KeyPoint> keypoints;
detector->detect( img, keypoints );
2 | No.2 Revision |
"I want to extract SIFT descriptor from my choosen points." - No, you don't can't choose the points yourself, instead leave it to SIFT:
Ptr<FeatureDetector> detector = FeatureDetector::create( "SIFT" );
vector<KeyPoint> keypoints;
detector->detect( img, keypoints );