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

    %% Plot Strongest Features from Detected Feature Points
%% Read image.

% Copyright 2015 The MathWorks, Inc.

    I = imread('cameraman.tif');
%% Detect feature points.
    points = detectHarrisFeatures(I);
%% Display the 10 strongest points.
    strongest = points.selectStrongest(10);
    imshow(I); hold on;
    plot(strongest);
%% Display the (x,y) coordinates.
    strongest.Location