18 #ifndef itkVariationalRegistrationFilter_h
19 #define itkVariationalRegistrationFilter_h
100 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField >
110 TDisplacementField, TDisplacementField >;
200 itkBooleanMacro( SmoothDisplacementField );
206 itkSetMacro( SmoothDisplacementField,
bool );
211 itkGetConstMacro( SmoothDisplacementField,
bool );
216 itkSetMacro( SmoothUpdateField,
bool );
222 itkGetConstMacro( SmoothUpdateField,
bool );
227 itkBooleanMacro( SmoothUpdateField );
308 #ifndef ITK_MANUAL_INSTANTIATION
309 # include "itkVariationalRegistrationFilter.hxx"
virtual void SetMovingImage(const MovingImageType *ptr)
virtual void SetMaskImage(const MaskImageType *ptr)
Base class for force calculation in the variational registration framework.
Light weight base class for most itk classes.
void InitializeIteration() override
typename FixedImageType::Pointer FixedImagePointer
typename RegularizerType::Pointer RegularizerPointer
Flexible framework for deformable registration of two images using PDE-based variational registration...
virtual const MaskImageType * GetMaskImage(void) const
typename Superclass::OutputImageType OutputImageType
void GenerateOutputInformation() override
VariationalRegistrationFilter()
Base class for regularization component in the variational registration framework.
typename FixedImageType::ConstPointer FixedImageConstPointer
typename DisplacementFieldType::Pointer DisplacementFieldPointer
typename MaskImageType::Pointer MaskImagePointer
virtual const MovingImageType * GetMovingImage(void) const
static constexpr unsigned int ImageDimension
void CopyInputToOutput() override
bool m_StopRegistrationFlag
typename MaskImageType::ConstPointer MaskImageConstPointer
TDisplacementField DisplacementFieldType
bool m_SmoothDisplacementField
virtual DisplacementFieldType * GetDisplacementField()
void VerifyInputInformation() const override
TFixedImage FixedImageType
virtual void SetInput(const InputImageType *image)
TMovingImage MovingImageType
virtual double GetMetric() const
RegistrationFunctionType * DownCastDifferenceFunctionType()
void PrintSelf(std::ostream &os, Indent indent) const override
void ApplyUpdate(const TimeStepType &dt) override
typename Superclass::TimeStepType TimeStepType
VariationalRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > RegistrationFunctionType
void Initialize() override
virtual void SetInitialDisplacementField(DisplacementFieldType *ptr)
SmartPointer< const Self > ConstPointer
typename Superclass::TimeStepType TimeStepType
OutputImageType * GetOutput()
Control indentation during Print() invocation.
virtual void StopRegistration()
This class performs diffusive regularization of a vector field.
unsigned char MaskImagePixelType
typename MovingImageType::ConstPointer MovingImageConstPointer
SmartPointer< Self > Pointer
RegularizerPointer m_Regularizer
virtual const FixedImageType * GetFixedImage(void) const
typename Superclass::OutputImageType OutputImageType
std::vector< SmartPointer< DataObject > >::size_type GetNumberOfValidRequiredInputs() const override
void GenerateInputRequestedRegion() override
This class computes different Demon forces in the variational registration framework.
virtual void SetFixedImage(const FixedImageType *ptr)
Templated n-dimensional image class.
SmartPointer< Self > Pointer
typename MovingImageType::Pointer MovingImagePointer
~VariationalRegistrationFilter() override
static constexpr unsigned int ImageDimension