This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
 BUILT-IN MATHEMATICA SYMBOL See Also »| More About »

# MinDetect

 MinDetect[image] gives a binary image in which white pixels correspond to constant extended minima in image. MinDetectfinds extended minima where the range of values is not greater than h.
• An extended minimum is a connected set of pixels with values less than their surroundings.
• MinDetect effectively fills minima of depth h or less and returns all remaining constant regional minima.
• MinDetect by default treats all eight pixels surrounding a given pixel as adjacent.
• The option setting CornerNeighbors->False treats only the four pixels in the coordinate directions as adjacent.
• MinDetect works with binary, grayscale, and other images.
Find catchment basins of depth 0.3 in a terrain map:
Find sharp dark regions in an image:
Find catchment basins of depth 0.3 in a terrain map:
 Out[1]=

Find sharp dark regions in an image:
 Out[1]=
 Scope   (1)
Use MinDetect to create a background mask:
 Applications   (1)
Use MaxDetect and MinDetect to find salt-and-pepper noise:
MinDetect is the same as MinDetect[FillingTransform[image, h, Padding->1]] for grayscale images:
New in 8