|
DCMTK Version 3.7.1
OFFIS DICOM Toolkit
|
General purpose class hiding global functions, constants and types in the segmentation context from the global namespace. More...
Public Types | |
| enum | E_SegmentationType { ST_UNKNOWN , ST_BINARY , ST_FRACTIONAL , ST_LABELMAP } |
| Segmentation object types. More... | |
| enum | E_SegmentAlgoType { SAT_UNKNOWN , SAT_AUTOMATIC , SAT_SEMIAUTOMATIC , SAT_MANUAL } |
| Segment Algorithm Type. More... | |
| enum | E_SegmentationFractionalType { SFT_UNKNOWN , SFT_PROBABILITY , SFT_OCCUPANCY } |
| Segmentation object Fractional Type. More... | |
| enum | E_SegmentationLabelmapColorModel { SLCM_UNKNOWN , SLCM_MONOCHROME2 , SLCM_PALETTE } |
| Labelmap Segmentation desired color model. More... | |
| enum | E_BackgroundHandling { BGH_AddSegment , BGH_Error , BGH_Warn , BGH_Ignore } |
| Policy that governs what happens on writing a Labelmap segmentation when one or more pixel values present in the Pixel Data are not described by an Item of the Segment Sequence ("uncovered" values). More... | |
Static Public Member Functions | |
| static OFString | backgroundHandling2OFString (const DcmSegTypes::E_BackgroundHandling value) |
| Return string representation of a background handling mode. | |
| static OFString | algoType2OFString (E_SegmentAlgoType algo) |
| Return string representation of algorithm type. | |
| static E_SegmentAlgoType | OFString2AlgoType (const OFString &algoType) |
| Return enum representation of algorithm type string as found in segmentation objects. | |
| static DcmSegTypes::E_SegmentationType | OFString2Segtype (const OFString &value) |
| Return enum representation of segmentation type string as found in segmentation objects. | |
| static OFString | segtype2OFString (const DcmSegTypes::E_SegmentationType &value) |
| Return string representation from segmentation enum type. | |
| static DcmSegTypes::E_SegmentationFractionalType | OFString2FractionalType (const OFString &value) |
| Return enum representation of fractional type string as found in segmentation objects. | |
| static OFString | labelmapColorModel2OFString (const DcmSegTypes::E_SegmentationLabelmapColorModel value, const OFString &fallbackValue="") |
| Returns string representation from labelmap color enum type. | |
| static DcmSegTypes::E_SegmentationLabelmapColorModel | OFString2LabelmapColorModel (const OFString &value) |
| Return enum representation of photometric interpretation type string as found in segmentation objects. | |
General purpose class hiding global functions, constants and types in the segmentation context from the global namespace.
Policy that governs what happens on writing a Labelmap segmentation when one or more pixel values present in the Pixel Data are not described by an Item of the Segment Sequence ("uncovered" values).
The "background pixel value" referenced below is the value configured on DcmSegmentation (default 0). Only relevant for Labelmap segmentations.
Segmentation object Fractional Type.
Segmentation object types.
|
static |
Return string representation of algorithm type.
| algo | The algorithm type |
|
static |
Return string representation of a background handling mode.
| value | The background handling mode as enum value |
|
static |
Returns string representation from labelmap color enum type.
| value | The labelmap color model as enum value |
| fallbackValue | The value to use if the enum value is unknown or invalid (not used if empty) |
|
static |
Return enum representation of algorithm type string as found in segmentation objects.
| algoType | The algorithm type as a string |
|
static |
Return enum representation of fractional type string as found in segmentation objects.
| value | The fractional type as a string |
|
static |
Return enum representation of photometric interpretation type string as found in segmentation objects.
| value | The photometric interpretation type as a string |
|
static |
Return enum representation of segmentation type string as found in segmentation objects.
| value | The segmentation type as a string |
|
static |
Return string representation from segmentation enum type.
| value | The segmentation type as enum value |
Referenced by DcmSegmentation::addFrame().