Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkMultiLabelPredicateHelper.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 mitkMultiLabelPredicateHelper_h
14 #define mitkMultiLabelPredicateHelper_h
15 
16 #include <MitkMultilabelExports.h>
17 #include <mitkNodePredicateBase.h>
18 #include <mitkBaseGeometry.h>
19 
20 namespace mitk
21 {
22  class DataStorage;
23 
38  mitk::NodePredicateBase::Pointer MITKMULTILABEL_EXPORT GetMultiLabelSegmentationPredicate(const mitk::BaseGeometry* referenceGeometry = nullptr);
39 
46 
63  unsigned int MITKMULTILABEL_EXPORT GetGeometryMismatchedSegmentationCount(const mitk::DataStorage* dataStorage, const mitk::BaseGeometry* referenceGeometry);
64 }
65 
66 #endif
#define MITKMULTILABEL_EXPORT
Abstract base class describing the geometry of a data object.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Find image slices visible on a given plane.
unsigned int MITKMULTILABEL_EXPORT GetGeometryMismatchedSegmentationCount(const mitk::DataStorage *dataStorage, const mitk::BaseGeometry *referenceGeometry)
Number of segmentation nodes whose geometry does not fit the reference.
mitk::NodePredicateBase::Pointer MITKMULTILABEL_EXPORT GetMultiLabelSegmentationPredicate(const mitk::BaseGeometry *referenceGeometry=nullptr)
Creates a predicate that matches valid multi-label segmentation data nodes.
mitk::NodePredicateBase::Pointer MITKMULTILABEL_EXPORT GetSegmentationReferenceImagePredicate()
Creates a predicate that matches images suitable as reference for a segmentation.