This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

MinDetect

MinDetect[image]
gives a binary image in which white pixels correspond to constant extended minima in image.
MinDetect
finds 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:
In[1]:=
Click for copyable input
Out[1]=
 
Find sharp dark regions in an image:
In[1]:=
Click for copyable input
Out[1]=
Use MinDetect to create a background mask:
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