我对Andrea Vedaldi算法的实现感到有点困惑。我正在尝试使用工具箱的sift算法来提取特征。
我使用这个命令frame,descriptors = sift(image,‘详细’,1);所以我得到了4xk矩阵的帧和128xK的描述符。我想使用一个向量作为一个特征。我应该使用两个矩阵中的哪一个作为特征?有谁知道吗?
发布于 2011-05-22 06:07:21
描述符是您为了确定匹配而进行比较的内容。
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的报告可以在here上找到。
https://stackoverflow.com/questions/6083696
复制相似问题