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

Opening

Opening[image, ker]
gives the morphological opening of image with respect to the structuring element ker.
Opening[image, r]
gives the opening with respect to a range r square.
  • Opening works with binary, grayscale and other images.
  • The structuring element ker is a matrix containing 0s and 1s.
  • Opening automatically pads structuring elements to have odd dimensions.
  • If multiple image channels are present, Opening operates on each of them separately.
Use morphological opening to extract objects larger than the structuring element:
Opening of a color photo with a diamond-shaped structuring element:
Use morphological opening to extract objects larger than the structuring element:
In[1]:=
Click for copyable input
Out[1]=
 
Opening of a color photo with a diamond-shaped structuring element:
In[1]:=
Click for copyable input
Out[1]=
New in 7