14 #ifndef mitkMAPAlgorithmHelper_h
15 #define mitkMAPAlgorithmHelper_h
19 #include "mapRegistrationAlgorithmBase.h"
20 #include "mapRegistrationBase.h"
59 unsupportedDataType = 3
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;
98 mutable CheckError::Type m_Error;
#define MITKMATCHPOINTREGISTRATION_EXPORT
Base of all data objects.
void SetData(const mitk::BaseData *moving, const mitk::BaseData *target)
static bool HasImageAlgorithmInterface(const map::algorithm::RegistrationAlgorithmBase *algorithm)
MAPAlgorithmHelper(map::algorithm::RegistrationAlgorithmBase *algorithm)
bool CheckData(const mitk::BaseData *moving, const mitk::BaseData *target, CheckError::Type &error) const
void SetAllowImageCasting(bool allowCasting)
bool GetAllowImageCasting() const
static bool HasPointSetAlgorithmInterface(const map::algorithm::RegistrationAlgorithmBase *algorithm)
mitk::MAPRegistrationWrapper::Pointer GetMITKRegistrationWrapper() const
map::core::RegistrationBase::Pointer GetRegistration() const
Find image slices visible on a given plane.
mitk::MAPRegistrationWrapper::Pointer MITKMATCHPOINTREGISTRATION_EXPORT GenerateIdentityRegistration3D()