Mask

Class: NodeStructProcessor

Node Icon

Selects and renders a structure to a binary mask from an RT-Struct Collection on a reference image.

Example workflows

Inputs

Image

The input image on which to render the structures.

Type: Image4DFloat, Required, Single

Structures

The structure set to render.

Type: RTStructCollection, Required, Single

Outputs

Mask

The rendered mask.

Type: Image4DBool

Smooth Mask

The rendered Smooth mask.

Type: Image4DFloat

Statistics

Statistics regarding the mask and smooth mask, such as volumes and volume error. Volume error is the relative difference between the volume calculated directly from the polygon structure compared to the rendered binary and smooth mask.

Type: DataCollection

Settings

Struct Selection

Structure Name(s) Text

Name of the structure to render, if you define several structures as a comma separated list it will render the first structure that matches.

Condition Selection

Condition to use when matching strings to find the structure.

Values: Equals, Contains, NotEqual, DoesNotContain, Regex

Case Sensitive Boolean

When enabled a case sensitive string match will be used.

Initial Supersampling

Method Selection

Sets the initial supersampling method.

Values: None, Grid, Random

Grid Divisions X Integer

Sets the number of sub voxel divisions in the X-direction for grid supersampling.

Grid Divisions Y Integer

Sets the number of sub voxel divisions in the Y-direction for grid supersampling.

Grid Divisions Z Integer

Sets the number of sub voxel divisions in the Z-direction for grid supersampling.

Number of Points Integer

Sets the number of sub voxel points to generate for random supersampling.

Adaptive Supersampling

Adaptive Method Selection

Sets the adaptive supersampling method. Can only be used if initial supersampling is used, it will resample any voxel that has a value >0 and <1 after the initial supersampling.

Values: None, Grid, Random

Adaptive Grid Divisions X Integer

Sets the number of sub voxel divisions in the X-direction for grid supersampling.

Adaptive Grid Divisions Y Integer

Sets the number of sub voxel divisions in the Y-direction for grid supersampling.

Adaptive Grid Divisions Z Integer

Sets the number of sub voxel divisions in the Z-direction for grid supersampling.

Adaptive Number of Points Integer

Sets the number of sub voxel points to generate for random supersampling.

Mask Generation

Threshold(%) Number

Sets how much of a single voxel that needs to be inside the structure for the voxel to be set to one in the mask.

Threshold Type Selection

The type of criteria used to set the resulting mask voxel to 1.

Values: HigherOrEqual, Higher, LowerOrEqual, Lower, Equals

Structure Geometry

End Cap Thickness (mm) Number

Sets the end cap thickness of the structure.

See also

Keywords: