14 #ifndef mitkMaskedAlgorithmHelper_h
15 #define mitkMaskedAlgorithmHelper_h
17 #include "itkSpatialObject.h"
20 #include "mapRegistrationAlgorithmBase.h"
52 static bool HasMaskedRegistrationAlgorithmInterface(
const map::algorithm::RegistrationAlgorithmBase* algorithm);
57 using MaskPixelType =
unsigned char;
63 template<
unsigned int VImageDimension1,
unsigned int VImageDimension2>
67 template<
typename TPixelType,
unsigned int VImageDimension>
68 void DoConvertMask(
const itk::Image<TPixelType, VImageDimension>* mask);
70 template<
unsigned int VImageDimension>
71 void DoConvertMask(
const itk::Image<MaskPixelType, VImageDimension>* mask);
74 template<
unsigned int VImageDimension>
75 typename itk::SpatialObject<VImageDimension>::Pointer ConvertMaskSO(
const itk::Image<MaskPixelType, VImageDimension>* mask)
const;
78 itk::DataObject::Pointer m_convertResult;
80 map::algorithm::RegistrationAlgorithmBase::Pointer m_AlgorithmBase;