|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Namespace providing boolean set operations on multi-label segmentations. More...
Functions | |
| Image::Pointer MITKSEGMENTATION_EXPORT | GenerateUnion (const MultiLabelSegmentation *segmentation, MultiLabelSegmentation::LabelValueVectorType labelValues, std::function< void(float progress)> progressCallback=[](float) {}) |
| Computes the union (logical OR) of the specified label regions. More... | |
| Image::Pointer MITKSEGMENTATION_EXPORT | GenerateIntersection (const MultiLabelSegmentation *segmentation, MultiLabelSegmentation::LabelValueVectorType labelValues, std::function< void(float progress)> progressCallback=[](float) {}) |
| Computes the intersection (logical AND) of the specified label regions. More... | |
| Image::Pointer MITKSEGMENTATION_EXPORT | GenerateDifference (const MultiLabelSegmentation *segmentation, MultiLabelSegmentation::LabelValueType minuendLabelValue, const MultiLabelSegmentation::LabelValueVectorType subtrahendLabelValues, std::function< void(float progress)> progressCallback=[](float) {}) |
| Computes the difference (set subtraction) of label regions. More... | |
Namespace providing boolean set operations on multi-label segmentations.
Provides functions to compute the union, intersection, or difference of label regions within a MultiLabelSegmentation. Each function returns a new binary image representing the result of the operation.
| Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateDifference | ( | const MultiLabelSegmentation * | segmentation, |
| MultiLabelSegmentation::LabelValueType | minuendLabelValue, | ||
| const MultiLabelSegmentation::LabelValueVectorType | subtrahendLabelValues, | ||
| std::function< void(float progress)> | progressCallback = [](float) {} |
||
| ) |
Computes the difference (set subtraction) of label regions.
Subtracts the union of the subtrahend labels from the minuend label region.
| [in] | segmentation | Pointer to the source multi-label segmentation. |
| [in] | minuendLabelValue | Label value of the region to subtract from. |
| [in] | subtrahendLabelValues | Label values of the regions to subtract. |
| [in] | progressCallback | Optional callback for progress reporting (0.0 to 1.0). |
| Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateIntersection | ( | const MultiLabelSegmentation * | segmentation, |
| MultiLabelSegmentation::LabelValueVectorType | labelValues, | ||
| std::function< void(float progress)> | progressCallback = [](float) {} |
||
| ) |
Computes the intersection (logical AND) of the specified label regions.
| [in] | segmentation | Pointer to the source multi-label segmentation. |
| [in] | labelValues | Vector of label values whose regions are intersected. |
| [in] | progressCallback | Optional callback for progress reporting (0.0 to 1.0). |
| Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateUnion | ( | const MultiLabelSegmentation * | segmentation, |
| MultiLabelSegmentation::LabelValueVectorType | labelValues, | ||
| std::function< void(float progress)> | progressCallback = [](float) {} |
||
| ) |
Computes the union (logical OR) of the specified label regions.
| [in] | segmentation | Pointer to the source multi-label segmentation. |
| [in] | labelValues | Vector of label values whose regions are combined. |
| [in] | progressCallback | Optional callback for progress reporting (0.0 to 1.0). |