Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkBooleanOperation.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkBooleanOperation_h
14 #define mitkBooleanOperation_h
15 
17 #include <mitkLabelSetImage.h>
18 
19 namespace mitk
20 {
30  namespace BooleanOperation
31  {
32 
42  std::function<void(float progress)> progressCallback = [](float) {});
43 
53  std::function<void(float progress)> progressCallback = [](float) {});
54 
68  const MultiLabelSegmentation::LabelValueVectorType subtrahendLabelValues, std::function<void(float progress)> progressCallback = [](float) {});
69 
70  };
71 }
72 
73 #endif
#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.