9.8. ITK Binary Dilate Image Filter

Fast binary dilation of a single intensity value in the image.

Group (Subgroup)

ITKBinaryMathematicalMorphology (BinaryMathematicalMorphology)

Description

BinaryDilateImageFilter is a binary dilation morphologic operation on the foreground of an image. Only the value designated by the intensity value “SetForegroundValue()” (alias as SetDilateValue() ) is considered as foreground, and other intensity values are considered background.

Grayscale images can be processed as binary images by selecting a “ForegroundValue” (alias “DilateValue”). Pixel values matching the dilate value are considered the “foreground” and all other pixels are “background”. This is useful in processing segmented images where all pixels in segment #1 have value 1 and pixels in segment #2 have value 2, etc. A particular “segment number” can be processed. ForegroundValue defaults to the maximum possible value of the PixelType.

The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel. A reasonable choice of structuring element is itk::BinaryBallStructuringElement .

This implementation is based on the papers:

L.Vincent “Morphological transformations of binary images with arbitrary structuring elements”, and

N.Nikopoulos et al. “An efficient algorithm for 3d binary morphological transformations with 3d structuring elements for arbitrary size and shape”. IEEE Transactions on Image Processing. Vol. 9. No. 3. 2000. pp. 283-286.* ImageToImageFilter BinaryErodeImageFilter BinaryMorphologyImageFilter

Input Parameter(s)

Parameter Name

Parameter Type

Parameter Notes

Description

Kernel Radius

Vector of UInt32 Values

Order=X,Y,Z

The radius of the kernel structuring element.

Kernel Type

Choices

Set the kernel or structuring element used for the morphology.

Background Value

Scalar Value

Float64

Set/Get the background value used to mark the pixels not on the border of the objects.

Foreground Value

Scalar Value

Float64

Set/Get the foreground value used to identify the objects in the input and output images.

BoundaryToForeground

Bool

Mark the boundary between foreground and background.

Input Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Image Geometry

Geometry Selection

Image

Select the Image Geometry Group from the DataStructure.

Input Cell Data

Array Selection

Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64

The image data that will be processed by this filter.

Output Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Output Cell Data

DataObjectName

The result of the processing will be stored in this Data Array inside the same group as the input data.

Example Pipelines

DREAM3D-NX Help

If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.