www.gusucode.com > vision 源码程序 matlab案例代码 > vision/PlotSURFFeaturesExample.m

    %% Plot SURF features
%
%%
% Extract SURF features from an image.
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);