matlab surf 坐标,Matlab SURF指向像素坐标
為了進一步理解,我嘗試了以下代碼
in this link.
% Extract SURF features
I = imread('cameraman.tif');
points = detectSURFFeatures(I);
[features, valid_points] = extractFeatures(I, points);
% Visualize 10 strongest SURF features, including their
% scales and orientation which were determined during the
% descriptor extraction process.
imshow(I); hold on;
strongestPoints = valid_points.selectStrongest(10);
strongestPoints.plot('showOrientation',true);
然后,在Matlab控制臺中嘗試了命令strongestPoints.Location,它返回了以下(x,y)坐標.
139.7482 95.9542
107.4502 232.0347
116.6112 138.2446
105.5152 172.1816
113.6975 48.7220
104.4210 75.7348
111.3914 154.4597
106.2879 175.2709
131.1298 98.3900
124.2933 64.4942
由于有一個坐標(107.4502 232.0347),我試圖將行232標記為黑色(I(232,:)= 0;)以查看它是否與SURF點中的232.0347 y坐標匹配,并收到下圖.因此,似乎SURF點的舍入值給出圖像的(x,y)像素坐標.
總結(jié)
以上是生活随笔為你收集整理的matlab surf 坐标,Matlab SURF指向像素坐标的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oracle数据库第八章答案,Oracl
- 下一篇: matlab计算海洋浮力频率_水下机器人