hpatches-benchmark
hpatches-benchmark copied to clipboard
How to extract ORB features from patches
Hi, I am trying to re-evaluate ORB on the patches benchmark and I have extracted ORB feature based on the following rules:
- take the center of a 65x65 patch as the position of a keypoint
- compute the angle of the keypoint according to ICAngles from OpenCV
- set all other attributes of a cv2.KeyPoint such as response, octave, size, class_id to 0 and build a cv2.KeyPoint
- compute ORB descriptor via cv2.ORB.compute for the KeyPoint
As a result, I achieved a visibly lower performance than that in paper at about 3.x in the image matching task. So I further tried the following settings:
- resize patch from 65x65 to 31x31
- extract keypoints and descriptors from the patch image directly without setting patch centers as keypoint positions
But with 1 I still got a similar score at 3.x and with 2 I found the descriptor bits were significantly different from that you offered in the pre-computed descriptor files for the same patch.
So my question is whether my operations are correct, and if not, could you give me some suggestions?
Thanks in advance!