Return the size of a points object
sz = size(points)
sz = size(points,1)
sz = size(points,dimension)
[M,N] = size(points)
Read an image.
I = imread('cameraman.tif');
Detect corner features.
featurePoints = detectHarrisFeatures(I);
Find the size of the feature points object.
sz = size(featurePoints)
sz = 1×2 184 1
Plot feature image with detected features.
imshow(I); hold on; plot(featurePoints);
points— Points object
Points object, specified as a
points object. The object
contains information about the feature points detected in the input image.
To obtain points, use the appropriate detect function.
Dimension, returned as an integer. For
dim >= 2,
the object returns