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

    %% Detect SURF Features and Display the Last 5 Points

% Copyright 2015 The MathWorks, Inc.


%% Read in image.
    I = imread('cameraman.tif');

%% Detect SURF feature.    
    points = detectSURFFeatures(I);
    
%% Display the last 5 points.
    imshow(I); hold on;
    plot(points(end-4:end));