Skip to main content

Type Alias: Segmentation

Segmentation: object

Global Segmentation Data which is used for the segmentation

Type declaration​

cachedStats​

cachedStats: object

Segmentation level stats, Note each segment can have its own stats This is used for caching stats for the segmentation level

Index Signature​

[key: string]: unknown

label​

label: string

segmentation label

representationData​

representationData: RepresentationsData

Representations of the segmentation. Each segmentation "can" be viewed in various representations. For instance, if a DICOM SEG is loaded, the main representation is the labelmap. However, for DICOM RT the main representation is contours, and other representations can be derived from the contour (currently only labelmap representation is supported)

segmentationId​

segmentationId: string

segmentation id

segments​

segments: object

Index Signature​

[segmentIndex: number]: Segment

Defined in​

tools/src/types/SegmentationStateTypes.ts:36