18 #ifndef itkVariationalRegistrationFilter_h
19 #define itkVariationalRegistrationFilter_h
101 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
204 itkBooleanMacro( SmoothDisplacementField );
210 itkSetMacro( SmoothDisplacementField,
bool );
215 itkGetConstMacro( SmoothDisplacementField,
bool );
220 itkSetMacro( SmoothUpdateField,
bool );
226 itkGetConstMacro( SmoothUpdateField,
bool );
231 itkBooleanMacro( SmoothUpdateField );
248 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
287 virtual bool Halt() ITK_OVERRIDE
315 #ifndef ITK_MANUAL_INSTANTIATION
316 # 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.
virtual void VerifyInputInformation() override
TMovingImage MovingImageType
Light weight base class for most itk classes.
virtual void Initialize() override
Flexible framework for deformable registration of two images using PDE-based variational registration...
virtual const MaskImageType * GetMaskImage(void) const
Superclass::TimeStepType TimeStepType
virtual void ApplyUpdate(const TimeStepType &dt) override
TDisplacementField DisplacementFieldType
MovingImageType::Pointer MovingImagePointer
DisplacementFieldType::Pointer DisplacementFieldPointer
virtual bool Halt() override
TFixedImage FixedImageType
VariationalRegistrationFilter()
virtual void GenerateInputRequestedRegion() override
virtual void PrintSelf(std::ostream &os, Indent indent) const override
unsigned char MaskImagePixelType
Base class for regularization component in the variational registration framework.
~VariationalRegistrationFilter()
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
virtual void InitializeIteration() override
virtual const MovingImageType * GetMovingImage(void) const
FixedImageType::Pointer FixedImagePointer
void operator=(const Self &)
MaskImageType::Pointer MaskImagePointer
bool m_StopRegistrationFlag
virtual std::vector< SmartPointer< DataObject > >::size_type GetNumberOfValidRequiredInputs() const override
VariationalRegistrationDemonsFunction< FixedImageType, MovingImageType, DisplacementFieldType > DefaultRegistrationFunctionType
bool m_SmoothDisplacementField
virtual DisplacementFieldType * GetDisplacementField()
Image< MaskImagePixelType, ImageDimension > MaskImageType
Superclass::TimeStepType TimeStepType
virtual void SetInput(const InputImageType *image)
virtual void GenerateOutputInformation() override
MaskImageType::ConstPointer MaskImageConstPointer
virtual double GetMetric() const
VariationalRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > RegistrationFunctionType
RegularizerType::Pointer RegularizerPointer
DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField > Superclass
RegistrationFunctionType * DownCastDifferenceFunctionType()
static const unsigned int ImageDimension
FixedImageType::ConstPointer FixedImageConstPointer
virtual void SetInitialDisplacementField(DisplacementFieldType *ptr)
MovingImageType::ConstPointer MovingImageConstPointer
Superclass::OutputImageType OutputImageType
OutputImageType * GetOutput()
VariationalRegistrationFilter Self
Control indentation during Print() invocation.
virtual void StopRegistration()
This class performs diffusive regularization of a vector field.
VariationalRegistrationRegularizer< DisplacementFieldType > RegularizerType
RegularizerPointer m_Regularizer
virtual const FixedImageType * GetFixedImage(void) const
Superclass::OutputImageType OutputImageType
virtual void CopyInputToOutput() override
This class computes different Demon forces in the variational registration framework.
virtual void SetFixedImage(const FixedImageType *ptr)
Templated n-dimensional image class.
static const unsigned int ImageDimension
VariationalRegistrationDiffusionRegularizer< DisplacementFieldType > DefaultRegularizerType