Expand (Dilate) Objects in Binary Images
- Click Binary»Basic Morphology or select Basic Morphology in the Binary tab of the Processing Functions palette.
- Select Dilate objects from the Basic Morphology list.
- Set the Size of the Structuring Element.
- Click the cells of the structuring element that you want to have a value of 0.
- Enter the number of times that you want the dilation applied to the image in Iterations.
- Click OK to apply the dilation and add this step to the script.
Note The structuring element is a 2D array used as a binary mask. 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. |
Tip Experiment with different coefficients and the Kernel Size to get the results you want. |
Related Topics
Expand (dilate) objects in grayscale images
Extract the contours of a particle
Fill gaps and holes (close) in binary images
Fill holes and smoothing right angles
Reduce (eroding) objects in binary images
Remove single pixels and right angles