I'm trying to detect Keypoints all over the image so I tried dividing it into cells and detect on each cell. However, I didn't get the same results using ORB detector as using FAST detector. For ORB, I get way lesser Keypoints as I increase the number of cells (smaller cells).
The picture below shows the results for dividing the image on 10 rows and 10 cols and max Keypoints 1000. The one on the left is the result for FAST ( 894 Keypoint) and on the right is the result for Orb detector (142 Keypoint).
Can someone explain to me why I get different results? Because I thought ORB is based on FAST features. And is there a way to get the same number of Keypoints as FAST while using ORB?
ORBwill filter the keypoints returned fromFASTso that the best keypoints are returned. You can try changing thefastThresholdto match the FAST detector and possibly thescoreTypetoORB::FAST_SCORE. Can't say specifically what to set thefastThresholdto, you'd have to read the source code - EdChum