Image Processing Toolbox User's Guide |
Dilation and Erosion
Dilation and erosion are two fundamental morphological operations. Dilation adds pixels to the boundaries of objects in an image, while erosion removes pixels on object boundaries. The number of pixels added or removed from the objects in an image depends on the size and shape of the structuring element used to process the image.
To view an extended example that uses morphological processing to solve an image processing problem, see the Image Processing Toolbox watershed segmentation demo.
Morphological Operations | Understanding Dilation and Erosion |
© 1994-2005 The MathWorks, Inc.