Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkMultiLabelSegmentationMappingHelper.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 
14 #ifndef mitkMultiLabelSegmentationMappingHelper_h
15 #define mitkMultiLabelSegmentationMappingHelper_h
16 
17 #include "mapRegistrationBase.h"
18 #include "mitkLabelSetImage.h"
19 #include "mitkGeometry3D.h"
20 
22 
24 
25 namespace mitk
26 {
27 
28  namespace MultiLabelSegmentationMappingHelper
29  {
30  typedef ::map::core::RegistrationBase RegistrationType;
31  typedef ::mitk::MAPRegistrationWrapper MITKRegistrationType;
32 
33  typedef ::mitk::BaseGeometry ResultGeometryType;
34 
48  MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer map(const MultiLabelSegmentation* input, const RegistrationType* registration,
49  bool throwOnOutOfInputAreaError = false, const ResultGeometryType* resultGeometry = nullptr,
50  bool throwOnMappingError = true, const MultiLabelSegmentation::LabelValueType& errorValue = 0);
51 
66  MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer map(const MultiLabelSegmentation* input, const MITKRegistrationType* registration,
67  bool throwOnOutOfInputAreaError = false, const ResultGeometryType* resultGeometry = nullptr,
68  bool throwOnMappingError = true, const MultiLabelSegmentation::LabelValueType& errorValue = 0);
69 
70  }
71 
72 }
73 
74 #endif
#define MITKMATCHPOINTREGISTRATION_EXPORT
BaseGeometry Describes the geometry of a data object.
MAPRegistrationWrapper Wrapper class to allow the handling of MatchPoint registration objects as mitk...
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
mitk::Label::PixelType LabelValueType
MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer map(const MultiLabelSegmentation *input, const RegistrationType *registration, bool throwOnOutOfInputAreaError=false, const ResultGeometryType *resultGeometry=nullptr, bool throwOnMappingError=true, const MultiLabelSegmentation::LabelValueType &errorValue=0)
Find image slices visible on a given plane.