Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
The Segmentation Utilities View
Icon of the Segmentation Utilities View


The Segmentation Utilities View


Overview

The Segmentation Utilities View allows to postprocess existing segmentations. Currently five different operations exist:

Data Selection

All postprocessing operations provide one or more selection widgets, which allow to select the data for the operation.

Boolean operations

Boolean operations allows to perform the following fundamental operations on two segmentations:

  • Difference: Subtracts the second segmentation from the first segmentation.
  • Intersection: Extracts the overlapping areas of the two selected segmentations.
  • Union: Combines the two existing segmentations.

The selected segmentations must have the same geometry (size, spacing, ...) in order for the operations to work correctly. The result will be stored in a new data node as a child node of the first selected segmentation.

Boolean operations


Contour to image

Contour to image allows to create a segmentation out of a given contour-model. The operation requires a contour model set and a reference image. The created segmentation image will have the same geometrical properties like the reference image (dimension, size and Geometry3D).

Contour to image


Image masking

Image masking allows to mask an image with either an existing segmentation or a surface. The operation requires an image and a segmentation or a surface. The result will be an image containing only the pixels that are covered by the respective mask.

The default background pixel value is zero. It can be changed to the minimum existing pixel value of the image or to a custom pixel value. If the custom pixel value is out of the valid bounds of the pixel type, it is optionally clamped accordingly.

Image masking


Morphological operations

Morphological operations are applied to a single segmentation image. Based on a given structuring element the underlying segmentation will be modified. The plugin provides a ball and a cross as structuring elements. The follow operations are available:

  • Dilation: Each labeled pixel within the segmentation will be dilated based on the selected structuring element.
  • Erosion: Each labeled pixel within the segmentation will be eroded based on the selected structuring element.
  • Opening: A dilation followed by an erosion, used for smoothing edges or eliminating small objects.
  • Closing: An erosion followed by an dilation, used for filling small holes.
  • Fill Holes: Fills bigger holes within a segmentation.
Morphological operations


Surface to image

Surface to image allows to create a segmentation out of a given surface. The operation requires a surface and a reference image. The created segmentation image will have the same geometrical properties like the reference image (dimension, size and Geometry3D).

Surface to image