Detect SURF Interest Points in a Grayscale Image

Read image and detect interest points.

I = imread('cameraman.tif');
points = detectSURFFeatures(I);

Display locations of interest in image.

imshow(I); hold on;
plot(points.selectStrongest(10));