18#ifndef itkVariationalRegistrationElasticRegularizer_h
19#define itkVariationalRegistrationElasticRegularizer_h
26#if defined(ITK_USE_FFTWD) || defined(ITK_USE_FFTWF)
29# include "itk_pocketfft.h"
61template <
typename TDisplacementField>
80 static constexpr unsigned int ImageDimension = TDisplacementField::ImageDimension;
90#if defined(ITK_USE_FFTWD) || defined(ITK_USE_FFTWF)
91# if defined(ITK_USE_FFTWD)
157 typename DisplacementFieldType::IndexType
183 typename DisplacementFieldType::SizeType
m_Size;
201#if defined(ITK_USE_FFTWD) || defined(ITK_USE_FFTWF)
221#ifndef ITK_MANUAL_INSTANTIATION
222# include "itkVariationalRegistrationElasticRegularizer.hxx"
Control indentation during Print() invocation.
Implements transparent reference counting.
DisplacementFieldType::SpacingType m_Spacing
virtual void Regularize()
typename Superclass::DisplacementFieldPointer DisplacementFieldPointer
VariationalRegistrationRegularizer< TDisplacementField > Superclass
virtual bool InitializeElasticFFTPlans()
static ITK_THREAD_RETURN_TYPE SolveElasticLESThreaderCallback(void *vargs)
DisplacementFieldType::SizeType::SizeValueType OffsetValueType
DisplacementFieldType::IndexType CalculateComplexImageIndex(OffsetValueType offset)
virtual void ThreadedSolveElasticLES(OffsetValueType from, OffsetValueType to)
OffsetValueType m_ComplexOffsetTable[ImageDimension]
OffsetValueType m_TotalComplexSize
static constexpr unsigned int ImageDimension
VariationalRegistrationElasticRegularizer Self
typename Superclass::DisplacementFieldConstPointer DisplacementFieldConstPointer
OffsetValueType m_TotalSize
void GenerateData() override
SmartPointer< Self > Pointer
RealTypeFFT * m_OutputBuffer
typename Superclass::DisplacementFieldType DisplacementFieldType
void ExecuteForwardFFT(unsigned int component)
FFTWProxyType::PlanType m_PlanForward[ImageDimension]
double * m_MatrixSin[ImageDimension]
void PrintSelf(std::ostream &os, Indent indent) const override
std::complex< RealTypeFFT > FFTComplexType
RealTypeFFT * m_InputBuffer
DisplacementFieldType::SizeType m_ComplexSize
virtual bool InitializeElasticMatrix()
~VariationalRegistrationElasticRegularizer() override
typename Superclass::PixelType PixelType
FFTWProxyType::PlanType m_PlanBackward[ImageDimension]
typename Superclass::ValueType ValueType
VariationalRegistrationElasticRegularizer()
double * m_MatrixCos[ImageDimension]
FFTComplexType * m_ComplexBuffer[ImageDimension]
typename fftw::Proxy< RealTypeFFT > FFTWProxyType
SmartPointer< const Self > ConstPointer
void Initialize() override
virtual void SolveElasticLES()
void ExecuteBackwardFFT(unsigned int component)
DisplacementFieldType::SizeType m_Size
TDisplacementField DisplacementFieldType
typename DisplacementFieldType::ConstPointer DisplacementFieldConstPointer
typename DisplacementFieldType::PixelType PixelType
typename NumericTraits< PixelType >::ValueType ValueType
typename DisplacementFieldType::Pointer DisplacementFieldPointer
VariationalRegistrationRegularizer()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
void ITK_THREAD_RETURN_TYPE
#define itkSetMacro(name, type)
OffsetValueType totalComplexSize
VariationalRegistrationElasticRegularizer * Filter