18 #ifndef itkCurvatureRegistrationFilter_h
19 #define itkCurvatureRegistrationFilter_h
24 #if !defined( ITK_USE_CUFFTW ) && defined( ITK_USE_FFTWF ) || defined( ITK_USE_FFTWD )
97 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField,
98 typename TImageForceFunction =
99 MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > >
126 static constexpr
unsigned int ImageDimension = FixedImageType::ImageDimension;
140 #if defined( ITK_USE_FFTWD )
144 #if defined( ITK_USE_FFTWF )
146 #warning "Using single precision for FFT computations!"
171 virtual double GetMetric()
const;
176 void PrintSelf(std::ostream & os,
Indent indent)
const override;
179 void Initialize()
override;
182 void ApplyUpdate(
const TimeStepType& dt)
override;
185 unsigned int m_FixedImageDimensions[ImageDimension];
201 #ifndef ITK_MANUAL_INSTANTIATION
202 #include "itkCurvatureRegistrationFilter.hxx"
205 #endif //defined(ITK_USE_FFTWF) || defined(ITK_USE_FFTWD)
Light weight base class for most itk classes.
typename Superclass::DisplacementFieldPointer DisplacementFieldPointer
constexpr unsigned int Dimension
Deformably register two images using the fast curvature algorithm.
RealTypeDFT * m_DisplacementFieldComponentImage
typename Superclass::FixedImagePointer FixedImagePointer
typename Superclass::MovingImagePointer MovingImagePointer
typename DisplacementFieldComponentImageType::Pointer DisplacementFieldComponentImagePointer
fftw_plan m_PlanBackwardDCT
typename Superclass::FixedImageType FixedImageType
fftw_plan m_PlanForwardDCT
void SetTimeStep(const TimeStepType ts)
typename DisplacementFieldPixelType::ValueType DisplacementFieldComponentType
typename Superclass::MovingImageType MovingImageType
void SetConstraintWeight(const float w)
TImageForceFunction RegistrationFunctionType
typename Superclass::DisplacementFieldType DisplacementFieldType
typename TDisplacementField::PixelType DisplacementFieldPixelType
typename Superclass::TimeStepType TimeStepType
Control indentation during Print() invocation.
RealTypeDFT * m_DisplacementFieldComponentImageDCT
typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Templated n-dimensional image class.