18 #ifndef itkVariationalRegistrationFunction_h
19 #define itkVariationalRegistrationFunction_h
50 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField>
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "itkVariationalRegistrationFunction.hxx"
Base class for force calculation in the variational registration framework.
VariationalRegistrationFunction()
Light weight base class for most itk classes.
TimeStepType ComputeGlobalTimeStep(void *) const override
typename WarpedImageType::ConstPointer WarpedImagePointer
double m_SumOfMetricValues
typename MaskImageType::ConstPointer MaskImagePointer
unsigned long SizeValueType
typename DisplacementFieldType::ConstPointer DisplacementFieldTypePointer
virtual const MaskImageType * GetMaskImage(void) const
virtual const WarpedImagePointer GetWarpedImage(void) const
virtual const MovingImageWarperType * GetMovingImageWarper(void) const
virtual const DisplacementFieldType * GetDisplacementField(void) const
TFixedImage FixedImageType
virtual void SetMaskImage(const MaskImageType *ptr)
std::mutex m_MetricCalculationLock
virtual void SetMovingImageWarper(MovingImageWarperType *ptr)
virtual double GetRMSChange() const
MovingImageWarperPointer m_MovingImageWarper
SizeValueType m_NumberOfPixelsProcessed
virtual const FixedImageType * GetFixedImage(void) const
static constexpr unsigned int ImageDimension
virtual double GetMetric() const
double m_SumOfSquaredChange
virtual const MovingImageType * GetMovingImage(void) const
virtual MaskImagePixelType GetMaskBackgroundThreshold(void) const
double m_SumOfSquaredChange
TDisplacementField DisplacementFieldType
void * GetGlobalDataPointer() const override
virtual const TimeStepType GetTimeStep(void) const
double m_SumOfMetricValues
virtual void SetDisplacementField(DisplacementFieldType *ptr)
virtual void WarpMovingImage(void)
~VariationalRegistrationFunction() override
MaskImagePixelType m_MaskBackgroundThreshold
SmartPointer< Self > Pointer
TFixedImage WarpedImageType
FixedImagePointer m_FixedImage
SmartPointer< const Self > ConstPointer
void InitializeIteration() override
typename FixedImageType::ConstPointer FixedImagePointer
void ReleaseGlobalDataPointer(void *GlobalData) const override
Warps an image using an input deformation field with continuous boundary conditions.
Control indentation during Print() invocation.
typename MovingImageType::ConstPointer MovingImagePointer
virtual void SetMovingImage(const MovingImageType *ptr)
static constexpr unsigned int ImageDimension
DisplacementFieldTypePointer m_DisplacementField
typename MovingImageWarperType::Pointer MovingImageWarperPointer
MaskImagePointer m_MaskImage
virtual void SetFixedImage(const FixedImageType *ptr)
typename Superclass::TimeStepType TimeStepType
TMovingImage MovingImageType
SizeValueType m_NumberOfPixelsProcessed
Templated n-dimensional image class.
virtual void SetTimeStep(TimeStepType timeStep)
unsigned char MaskImagePixelType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetMaskBackgroundThreshold(MaskImagePixelType threshold)
MovingImagePointer m_MovingImage