Purpose

The ITKFlatStructuringElement provides a set predefined structuring elements provided by the itk class FlatStructuringElement. These elements can be passed to some itk filter modules such as anchor modules to define structure elements for their operations.

Windows

Default Panel

../../../Modules/ML/MLITKSupport/mhelp/Images/Screenshots/ITKFlatStructuringElement._default.png

Output Fields

outputflatStructuringElement

name: outputflatStructuringElement, type: MLBase

This is the output to be connected to those modules requiring a FlatStructuringElement. Those modules will automatically get structuring elements with the appropriate image dimensions from the ITKFlatStructuringElement module dependent on the filtered images.

Parameter Fields

Visible Fields

Element Type

name: selectElement, type: Enum, default: Box

This field selects which flat structuring element type is currently provided by the module.

Radius

name: radius, type: String, default: 1 1 1 1 1 1

This defines the radius of the flat structuring element at the module output. Only those extents are used which are needed by the connected modules, i.e. if the filtered image is three dimensional, then only the first three values are used for the calculation of the extents of the flat structuring element. All other radius extents are ignored.

Include Center

name: includeCenter, type: Bool, default: FALSE

This field is only sensitive for the “Annulus” mode of the Element Type field. It determines whether the created annulus structuring element includes the center or not.

Num Lines

name: numLines, type: Integer, default: 1

This field is only sensitive for the “Polygon” mode of the Element Type field. It determines the number of used lines in the created structuring element.