Operating on binary images: morphological operators
Load binary test image
Display image
Median filtering
Morphological operators
Dilation operator
Structural element definition
First dilation
Second dilation
Erosion operator
Structural element definition
First erosion
Second erosion
Closing operator (dilation followed by erosion)
Structural element definition
Closing
Opening operator (erosion followed by dilation)
Structural element definition
Opening
Larger structural element definition
Opening
Connected-component labeling after two morphological operators
Connected components in original image
Connected components following Closing operator
Connected components following (1) Closing and then (2) Opening operator
Created by Mathematica (February 5, 2004)