Skip to content

Erode/Dilate Mask

Group (Subgroup)

Processing (Cleanup)

Description

If the mask is dilated, the Filter grows the true regions by one Cell in an iterative sequence for a user defined number of iterations. During the dilate process, the classification of any Cell neighboring a false Cell will be changed to true. If the mask is eroded, the Filter shrinks the true regions by one Cell in an iterative sequence for a user defined number of iterations. During the erode process, the classification of the false Cells is changed to true if one of its neighbors is true. The Filter also offers the option(s) to turn on/off the erosion or dilation in specific directions (X, Y or Z).

Parameters

Name Type Description
Operation Enumeration Whether to dilate or erode
Number of Iterations int32_t The number of iterations to use for erosion/dilation
X Direction bool Whether to erode/dilate in the X direction
Y Direction bool Whether to erode/dilate in the Y direction
Z Direction bool Whether to erode/dilate in the Z direction

Required Geometry

Image

Required Objects

Kind Default Name Type Component Dimensionss Description
Cell Attribute Array Mask bool (1) Used to define whether the Cells are part of the mask

Created Objects

None

Example Pipelines

Please see the description file distributed with this Plugin

DREAM.3D Mailing Lists

If you need more help with a Filter, please consider asking your question on the DREAM.3D Users Google group!