18 #ifndef __itkVariationalRegistrationElasticRegularizer_h
19 #define __itkVariationalRegistrationElasticRegularizer_h
24 #if defined( ITK_USE_FFTWD ) || defined( ITK_USE_FFTWF )
57 template<
class TDisplacementField >
76 itkStaticConstMacro(ImageDimension,
unsigned int, TDisplacementField::ImageDimension);
89 #if defined( ITK_USE_FFTWD )
93 #if defined( ITK_USE_FFTWF )
95 #warning "Using single precision for FFT computations!"
119 virtual void PrintSelf(std::ostream& os,
Indent indent)
const;
123 virtual void GenerateData();
127 virtual void Initialize();
130 virtual bool InitializeElasticFFTPlans();
133 virtual bool InitializeElasticMatrix();
136 virtual void FreeData();
139 virtual void Regularize();
142 virtual void SolveElasticLES();
148 typename DisplacementFieldType::IndexType CalculateComplexImageIndex(
153 void operator=(
const Self&);
165 typename DisplacementFieldType::SizeType
m_Size;
179 double * m_MatrixCos[ImageDimension];
180 double * m_MatrixSin[ImageDimension];
205 #ifndef ITK_MANUAL_INSTANTIATION
206 # include "itkVariationalRegistrationElasticRegularizer.hxx"
SmartPointer< const Self > ConstPointer
Light weight base class for most itk classes.
signed long OffsetValueType
NumericTraits< PixelType >::ValueType ValueType
SmartPointer< Self > Pointer
~VariationalRegistrationElasticRegularizer()
This class performs linear elastic regularization of a vector field.
VariationalRegistrationElasticRegularizer * Filter
Base class for regularization component in the variational registration framework.
DisplacementFieldType::SpacingType m_Spacing
Superclass::DisplacementFieldType DisplacementFieldType
unsigned long SizeValueType
DisplacementFieldType::SizeType::SizeValueType OffsetValueType
#define ITK_THREAD_RETURN_TYPE
DisplacementFieldType::SizeType m_Size
VariationalRegistrationElasticRegularizer Self
Superclass::DisplacementFieldConstPointer DisplacementFieldConstPointer
fftw::Proxy< RealTypeFFT > FFTWProxyType
Superclass::PixelType PixelType
Superclass::DisplacementFieldPointer DisplacementFieldPointer
VariationalRegistrationRegularizer< TDisplacementField > Superclass
Superclass::ValueType ValueType
DisplacementFieldType::SizeType m_ComplexSize
Control indentation during Print() invocation.
OffsetValueType m_TotalSize
OffsetValueType totalComplexSize
OffsetValueType m_TotalComplexSize
TDisplacementField DisplacementFieldType