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

    %% Detect SURF Features

% Copyright 2015 The MathWorks, Inc.


%% Read in image.
    I = imread('cameraman.tif');
    
%% Detect SURF features.    
    points = detectSURFFeatures(I);
    
%% Display location and scale for the 10 strongest points.
    strongest = points.selectStrongest(10);
    imshow(I); hold on;
    plot(strongest);     
    
%% Display [x y] coordinates for the 10 strongest points on command line.
    strongest.Location