Gray Morphology (Grayscale»Gray Morphology)
Affects the structure of objects in grayscale images. You can use these functions for tasks such as expanding or reducing objects, filling holes, closing particles, or smoothing boundaries, which are tasks you perform to delineate objects and prepare images for thresholding and quantitative analysis.
- Gray Morphology
Image Source Original input image. Dilate Grayscale dilation operation. Dilation increases the brightness of each pixel surrounded by neighbors with a higher intensity. Erode Grayscale erosion operation. Erosion reduces the brightness of pixels that are surrounded by neighbors with a lower intensity. Close Grayscale dilation followed by a grayscale erosion. Closing removes dark spots isolated in bright regions and smoothes boundaries. Open Grayscale erosion followed by a grayscale dilation. Opening removes bright spots isolated in dark regions and smoothes boundaries. Proper Close Finite and dual combination of closing and opening operations. Proper Closing removes dark pixels isolated in bright regions and smoothes the boundaries of dark regions. Proper Open Finite and dual combination of opening and closing operations. Proper Opening removes bright pixels isolated in dark regions and smoothes the boundaries of bright regions. Auto Median Dual combinations of openings and closings. Auto Median generates simpler objects with fewer details. - Structuring Element
2D array used as a binary mask to define the neighbors of a pixel. You can modify the structuring element by clicking its cells. If a cell is black, it has a value of 1. If a cell is white (empty), it has a value of 0. If cell is black, the corresponding pixel is considered to be a neighbor and its value is used during the morphology operation. - Size—Size of the structuring element. Valid values include 3 x 3, 5 x 5, and 7 x 7.
- Iterations (Dilate and Erode functions)—Number of times the operation is applied to the image.
Related Topics
Expanding (dilating) objects in grayscale images
Filling gaps and holes (close) in grayscale images
Reducing (eroding) objects in grayscale images