如何将其他库中的关键点用于OpenCV?

时间:2016-06-06 11:43:46

标签: c++ opencv image-processing sift

我正在使用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

0 个答案:

没有答案