Medical Imaging Interaction Toolkit  2026.06.00
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 
35  namespace MultiLabelSegmentationMappingHelper
36  {
38  typedef ::map::core::RegistrationBase RegistrationType;
40  typedef ::mitk::MAPRegistrationWrapper MITKRegistrationType;
41 
43  typedef ::mitk::BaseGeometry ResultGeometryType;
44 
59  MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer map(const MultiLabelSegmentation* input, const RegistrationType* registration,
60  bool throwOnOutOfInputAreaError = false, const ResultGeometryType* resultGeometry = nullptr,
61  bool throwOnMappingError = true, const MultiLabelSegmentation::LabelValueType& errorValue = 0);
62 
75  MITKMATCHPOINTREGISTRATION_EXPORT MultiLabelSegmentation::Pointer map(const MultiLabelSegmentation* input, const MITKRegistrationType* registration,
76  bool throwOnOutOfInputAreaError = false, const ResultGeometryType* resultGeometry = nullptr,
77  bool throwOnMappingError = true, const MultiLabelSegmentation::LabelValueType& errorValue = 0);
78 
79  }
80 
81 }
82 
83 #endif
#define MITKMATCHPOINTREGISTRATION_EXPORT
Abstract base class describing the geometry of a data object.
Wrapper class that adapts MatchPoint registration objects to the MITK data model.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
mitk::Label::PixelType LabelValueType
::map::core::RegistrationBase RegistrationType
MatchPoint registration base type.
::mitk::BaseGeometry ResultGeometryType
Geometry type used for the result image grid specification.
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)
Maps a multi-label segmentation image using a MatchPoint registration.
::mitk::MAPRegistrationWrapper MITKRegistrationType
MITK wrapper type for MatchPoint registrations.
Find image slices visible on a given plane.