Fill Hole

Class: NodeMaskFillHole

Node Icon

Remove holes not connected to the boundary of the mask.

Note: Geodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book ‘Morphological Image Analysis: Principles and Applications’, Second Edition, Springer, 2003.

Inputs

Mask

A binary mask.

Type: Image4DBool, Required, Single

Outputs

Out

A binary mask with the same spatial properties as the input mask.

Type: Image4DBool

Settings

Fully Connected Boolean

Sets whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. For objects that are 1 pixel wide, use FullyConnectedOn.

Slicewise Boolean

Perform the fill hole operation slice by slice.

References

See also

Keywords: