Mask To Label Map

Class: NodeMaskToRegionImage

Node Icon

Converts a mask to an image where all connected components in the mask are assigned a unique intensity value. The object labels start with 1 and are consecutive. The background value is labelled 0.

Inputs

Mask

A binary mask.

Type: Image4DBool, Required, Single

Outputs

Image

A image with the same size as the input mask.

Type: Image4DFloat

Settings

Diagonal Connections Boolean

If TRUE, diagonal voxels will be considered neighbours when regions are segmented.

See also

Keywords: