18 #ifndef itkVariationalRegistrationCurvatureRegularizer_h
19 #define itkVariationalRegistrationCurvatureRegularizer_h
24 #if defined( ITK_USE_FFTWD ) || defined( ITK_USE_FFTWF )
61 template<
class TDisplacementField >
79 itkStaticConstMacro(
ImageDimension,
unsigned int, TDisplacementField::ImageDimension);
92 #if defined( ITK_USE_FFTWD )
96 #if defined( ITK_USE_FFTWF )
98 #warning "Using single precision for FFT computations!"
189 #ifndef ITK_MANUAL_INSTANTIATION
190 # include "itkVariationalRegistrationCurvatureRegularizer.hxx"
virtual bool InitializeCurvatureDiagonalMatrix()
Light weight base class for most itk classes.
NumericTraits< PixelType >::ValueType ValueType
DisplacementFieldType::SizeType::SizeValueType OffsetValueType
~VariationalRegistrationCurvatureRegularizer()
SmartPointer< const Self > ConstPointer
Superclass::DisplacementFieldPointer DisplacementFieldPointer
Superclass::PixelType PixelType
OffsetValueType totalSize
Base class for regularization component in the variational registration framework.
RealTypeFFT * m_DiagonalMatrix[ImageDimension]
Superclass::ValueType ValueType
virtual void GenerateData()
static const unsigned int ImageDimension
unsigned long SizeValueType
DisplacementFieldType::SpacingType m_Spacing
#define ITK_THREAD_RETURN_TYPE
virtual void SolveCurvatureLES(unsigned int currentDimension)
OffsetValueType m_OffsetTable[ImageDimension]
virtual void Regularize()
DisplacementFieldType::ConstPointer DisplacementFieldConstPointer
OffsetValueType m_TotalSize
VariationalRegistrationCurvatureRegularizer Self
Superclass::DisplacementFieldType DisplacementFieldType
SmartPointer< Self > Pointer
DisplacementFieldType::Pointer DisplacementFieldPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const
VariationalRegistrationCurvatureRegularizer * Filter
virtual bool InitializeCurvatureFFTPlans()
VariationalRegistrationCurvatureRegularizer()
Superclass::DisplacementFieldConstPointer DisplacementFieldConstPointer
void operator=(const Self &)
virtual void ThreadedSolveCurvatureLES(unsigned int currentDimension, OffsetValueType from, OffsetValueType to)
fftw::Proxy< RealTypeFFT > FFTWProxyType
unsigned int currentDimension
VariationalRegistrationRegularizer< TDisplacementField > Superclass
Control indentation during Print() invocation.
DisplacementFieldType::SizeType m_Size
ImageBaseType::SizeType SizeType
static ITK_THREAD_RETURN_TYPE SolveCurvatureLESThreaderCallback(void *vargs)
TDisplacementField DisplacementFieldType
This class performs linear elastic regularization of a vector field.
virtual void Initialize()
DisplacementFieldType::IndexType CalculateImageIndex(OffsetValueType offset)
DisplacementFieldType::PixelType PixelType
ImageBaseType::IndexType IndexType