Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

How to convert David Lowe keypoints into OpenCV keypoints?

$
0
0
I want to use [siftfast][1] for computing SIFT keypoints. The `Keypoint` structure is defined in `siftfast.h` as: typedef struct KeypointSt { float row, col; // Subpixel location of keypoint. float scale, ori; // Scale and orientation (range [-PI,PI]) float descrip[128]; // Vector of descriptor values struct KeypointSt *next; // Pointer to next keypoint in list. } *Keypoint; While the consturctor of opencv keypoints is: KeyPoint (float x, float y, float _size, float _angle=-1, float _response=0, int _octave=0, int _class_id=-1) Now, I have to find a way to map the siftfast's `Keypoint` into OpenCV's `KeyPoint`: - `row` == `x` - `col` == `y` But what about the other values? Can you help me this conversion? [1]: https://sourceforge.net/projects/libsift/files/libsiftfast/libsiftfast-1.2/

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>