Compute regional minima.
Returns a logical matrix, same size as the input img, with the regional minima.
The optional argument conn, defines the connectivity. It can
be a scalar value or a boolean matrix (see conndef
for details).
Defaults to conndef (ndims (img), "maximal")
Regional minima should not be mistaken with local minima. Local minima are pixels whose value is less or equal to all of its neighbors. A regional minima is the connected component of pixels whose values are all less than the neighborhood of the minima (the connected component, not its individual pixels). All pixels belonging to a regional minima are local minima, but the inverse is not true.
See also: imreconstruct, imregionalmax.
Package: image