Points object,specified as an M-by-2 matrix of
M number of [x y] coordinates, or
as one of the point feature objects described in Point Feature Types. The object contains information
about the point features detected in the input image. To obtain points, use
the appropriate detect function that pairs with the point feature
type.
Number of uniformly distributed points to select, specified as an
integer.
Size of image, specified as a 2-element vector for grayscale images or a
3-element vector for truecolor images.