我正在使用Fast SIFT Image Features Library,这比OpenCV实现快得多(关键点和描述符计算大约0.01秒!)。
这是关于如何创建关键点+描述符的代码:
...
Image image = ReadPGM(stdin);
Keypoint keypts;
keypts = GetKeypoints(image);
其中:
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;
ReadPGM
定义与此问题无关。
所以我的问题是:如何在OpenCV中使用从上面代码中获得的keypts
?