14 #ifndef mitkMAPAlgorithmHelper_h 15 #define mitkMAPAlgorithmHelper_h 19 #include "mapRegistrationAlgorithmBase.h" 20 #include "mapRegistrationBase.h" 45 void SetAllowImageCasting(
bool allowCasting);
46 bool GetAllowImageCasting()
const;
48 static bool HasImageAlgorithmInterface(
const map::algorithm::RegistrationAlgorithmBase* algorithm);
49 static bool HasPointSetAlgorithmInterface(
const map::algorithm::RegistrationAlgorithmBase* algorithm);
59 unsupportedDataType = 3
66 map::core::RegistrationBase::Pointer GetRegistration()
const;
79 template<
typename TInImageType,
typename TOutImageType>
80 typename TOutImageType::Pointer CastImage(
const TInImageType* input)
const;
83 template<
typename TPixelType1,
unsigned int VImageDimension1,
84 typename TPixelType2,
unsigned int VImageDimension2>
85 void DoSetImages(
const itk::Image<TPixelType1, VImageDimension1>* moving,
86 const itk::Image<TPixelType2, VImageDimension2>* target);
89 template<
typename TPixelType1,
unsigned int VImageDimension1,
90 typename TPixelType2,
unsigned int VImageDimension2>
91 void DoCheckImages(
const itk::Image<TPixelType1, VImageDimension1>* moving,
92 const itk::Image<TPixelType2, VImageDimension2>* target)
const;
94 map::algorithm::RegistrationAlgorithmBase::Pointer m_AlgorithmBase;
96 bool m_AllowImageCasting;
Base of all data objects.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMATCHPOINTREGISTRATION_EXPORT
mitk::MAPRegistrationWrapper::Pointer MITKMATCHPOINTREGISTRATION_EXPORT GenerateIdentityRegistration3D()