c++ - ORB compute bug: it removes all keypoints with a small image -


i have small image 50x50. find orb keypoints with:

(notice have change default param of patchsize 31 14 keypoints detected):

 orbfeaturedetector det(500,1.2f,8,14,0,2,0,14);   //> (from 31 14)  orbdescriptorextractor desc;   det.detect(image,kp)  //> kp.size() 50 keypoints 

now if pass keypoints orb.compute keypoints erased.

 desc.compute(image,kp,kpdesc);  //> kp.size() == 0 

this mean after have called .compute method has deleted keypoints.

the image using this: enter image description here

i believe sort of bug. can confirm? using opencv 2.4.5

no not bug.

the problem orbdescriptorextractor doesn't know have changed param in featuredetector. have set right params again:

orbfeaturedetector      det(500,1.2f,8,14,0,2,0,14);   //> (from 31 14) orbdescriptorextractor desc(500,1.2f,8,14,0,2,0,14);  

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -