13 #ifndef mitkBooleanOperation_h
14 #define mitkBooleanOperation_h
30 namespace BooleanOperation
42 std::function<
void(
float progress)> progressCallback = [](
float) {});
53 std::function<
void(
float progress)> progressCallback = [](
float) {});
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
std::vector< LabelValueType > LabelValueVectorType
mitk::Label::PixelType LabelValueType
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.
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.
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.
Find image slices visible on a given plane.