Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitk::BooleanOperation Namespace Reference

Executes a boolean operation on two different segmentations. All parameters of the boolean operations must be specified during construction. The actual operation is executed when calling GetResult(). More...

Functions

Image::Pointer MITKSEGMENTATION_EXPORT GenerateUnion (const MultiLabelSegmentation *, MultiLabelSegmentation::LabelValueVectorType labelValues, std::function< void(float progress)> progressCallback=[](float) {})
 
Image::Pointer MITKSEGMENTATION_EXPORT GenerateIntersection (const MultiLabelSegmentation *, MultiLabelSegmentation::LabelValueVectorType labelValues, std::function< void(float progress)> progressCallback=[](float) {})
 
Image::Pointer MITKSEGMENTATION_EXPORT GenerateDifference (const MultiLabelSegmentation *, MultiLabelSegmentation::LabelValueType minuendLabelValue, const MultiLabelSegmentation::LabelValueVectorType subtrahendLabelValues, std::function< void(float progress)> progressCallback=[](float) {})
 

Detailed Description

Executes a boolean operation on two different segmentations. All parameters of the boolean operations must be specified during construction. The actual operation is executed when calling GetResult().

Function Documentation

◆ GenerateDifference()

Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateDifference ( const MultiLabelSegmentation ,
MultiLabelSegmentation::LabelValueType  minuendLabelValue,
const MultiLabelSegmentation::LabelValueVectorType  subtrahendLabelValues,
std::function< void(float progress)>  progressCallback = [](float) {} 
)

◆ GenerateIntersection()

Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateIntersection ( const MultiLabelSegmentation ,
MultiLabelSegmentation::LabelValueVectorType  labelValues,
std::function< void(float progress)>  progressCallback = [](float) {} 
)

◆ GenerateUnion()

Image::Pointer MITKSEGMENTATION_EXPORT mitk::BooleanOperation::GenerateUnion ( const MultiLabelSegmentation ,
MultiLabelSegmentation::LabelValueVectorType  labelValues,
std::function< void(float progress)>  progressCallback = [](float) {} 
)