Use extended parameter for Surf descriptor
Hi, I want to use the extended
parameter for Surf algorithm. Here is my code :
SurfFeatureDetector detector2(minHessian);
detector2.extended=1;
and then
extractor2.compute(img, keypoints_4, descriptors2);
cout<<"descriptors2 "<<descriptors2.rows<<" + "<<descriptors2.cols<<endl;
and the result is:
descriptors2 168 + 64
but I want my Surf descriptor to have 128 columns with extended
parameter. How is it possible to do this?
Thanks
you're setting the flag on detector2, but use extractor2 to extract features ?
rather use only 1 , single instance, and call detectAndCompute()