GrowCutComponents

GrowCutComponents[image,{marker1,marker2,}]
creates a segmentation from image by growing each .

Details and OptionsDetails and Options

  • GrowCutComponents models the image using cellular automata where the automata evolution leads to an image segmentation.
  • GrowCutComponents works with arbitrary 2D and 3D images.
  • Each marker can be given either as an image or a list of points in the standard image coordinate system.
  • The following options can be specified:
  • CornerNeighborsTruewhether to include corner neighbors
    MaxIterationsAutomaticmaximum number of iterations to use
  • With MaxIterations->Automatic the algorithm runs until convergence.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Grow cut segmentation of an image:

In[1]:=
Click for copyable input
Out[1]=

Grow cut binarization of a color image:

In[1]:=
Click for copyable input
Out[1]=

Mask the image with the detected foreground area:

In[2]:=
Click for copyable input
Out[2]=

Segment a 3D image:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)