How to get the descriptor value from "SiftDescriptorExtractor"?
I use SiftDescriptorExtractor to compute the descriptors of keypoints. I'm trying to get the descriptor value. Does someone know how to do it?
(PS:My opencv version is 2.4.2)
This is the part of the code
//-- Step 2: Calculate descriptors (feature vectors)
SiftDescriptorExtractor extractor;
Mat descriptors_object, descriptors_scene;
extractor.compute( img_object, keypoints_object, descriptors_object );
extractor.compute( img_scene, keypoints_scene, descriptors_scene );
I don't understand the question. What's the descriptor value? A descriptor is a fixed-size vector and every row in your descriptors matrix corresponds to such a vector.