1

我对算法的 Andrea Vedaldi 实现有点困惑。我正在尝试使用工具箱的算法筛选来提取特征。

我正在使用这个命令 [frames,descriptors] = sift(image, 'Verbosity', 1); 所以我得到了 4xk 矩阵的帧和 128xK 的描述符。我想使用向量作为特征。我应该使用两个矩阵中的哪一个作为特征?有人知道吗?

4

1 回答 1

0

描述符是您比较以确定匹配的内容。

I1 = double(rgb2gray(imread('image1.png'))/256) ;
I2 = double(rgb2gray(imread('image2.png'))/256) ;

[frames1,descriptors1] = sift(I1, 'Verbosity', 1) ;
[frames2,descriptors2] = sift(I2, 'Verbosity', 1) ;

matches = siftmatch(descriptors1, descriptors2) ;

您现在拥有两个图像之间的匹配特征矩阵。

为了可视化结果,将以下行添加到上面

plotsiftmatches(I1,I2,frames1,frames2,matches);

Vedaldi 的报告可以在这里找到。

于 2011-05-21T22:07:20.943 回答