18 #ifndef itkCurvatureRegistrationFilter_h
19 #define itkCurvatureRegistrationFilter_h
24 #if defined( ITK_USE_FFTWF ) || defined( ITK_USE_FFTWD )
97 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField,
98 typename TImageForceFunction =
99 MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > >
124 itkStaticConstMacro(ImageDimension,
unsigned int, FixedImageType::ImageDimension);
131 typedef typename Superclass::DisplacementFieldType
133 typedef typename Superclass::DisplacementFieldPointer
140 #if defined( ITK_USE_FFTWD )
144 #if defined( ITK_USE_FFTWF )
146 #warning "Using single precision for FFT computations!"
155 typedef typename Superclass::FiniteDifferenceFunctionType
172 virtual double GetMetric()
const;
177 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
180 virtual void Initialize();
183 virtual void ApplyUpdate(
const TimeStepType& dt);
188 unsigned int m_FixedImageDimensions[ImageDimension];
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkCurvatureRegistrationFilter.hxx"
208 #endif //defined(ITK_USE_FFTWF) || defined(ITK_USE_FFTWD)
Image< RealTypeDFT, TDisplacementField::ImageDimension > DisplacementFieldComponentImageType
Superclass::FixedImageType FixedImageType
Superclass::FixedImagePointer FixedImagePointer
Light weight base class for most itk classes.
CurvatureRegistrationFilter Self
PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > Superclass
SmartPointer< const Self > ConstPointer
TImageForceFunction RegistrationFunctionType
TDisplacementField::PixelType DisplacementFieldPixelType
DisplacementFieldComponentImageType::Pointer DisplacementFieldComponentImagePointer
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Superclass::MovingImageType MovingImageType
Deformably register two images using the fast curvature algorithm.
RealTypeDFT * m_DisplacementFieldComponentImage
Superclass::TimeStepType TimeStepType
Superclass::MovingImagePointer MovingImagePointer
fftw_plan m_PlanBackwardDCT
const unsigned int Dimension
DisplacementFieldPixelType::ValueType DisplacementFieldComponentType
fftw_plan m_PlanForwardDCT
void SetTimeStep(const TimeStepType ts)
void SetConstraintWeight(const float w)
Superclass::DisplacementFieldType DisplacementFieldType
Control indentation during Print() invocation.
RealTypeDFT * m_DisplacementFieldComponentImageDCT
SmartPointer< Self > Pointer
Templated n-dimensional image class.
Superclass::DisplacementFieldPointer DisplacementFieldPointer