18#ifndef itkVariationalRegistrationDemonsFunction_h
19#define itkVariationalRegistrationDemonsFunction_h
55template <
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField>
90 using IndexType =
typename FixedImageType::IndexType;
91 using SizeType =
typename FixedImageType::SizeType;
202#ifndef ITK_MANUAL_INSTANTIATION
203# include "itkVariationalRegistrationDemonsFunction.hxx"
Calculate the derivative by central differencing.
SmartPointer< Self > Pointer
ConstNeighborhoodIterator< TDisplacementField, DefaultBoundaryConditionType > NeighborhoodType
Vector< float, Self::ImageDimension > FloatOffsetType
typename ImageType::PixelType PixelType
Control indentation during Print() invocation.
Implements transparent reference counting.
typename Superclass::PixelType PixelType
typename Superclass::DisplacementFieldType DisplacementFieldType
virtual void SetGradientTypeToSymmetric()
double m_IntensityDifferenceThreshold
typename Superclass::GlobalDataStruct GlobalDataStruct
virtual void SetGradientTypeToWarpedMovingImage()
GradientCalculatorPointer m_FixedImageGradientCalculator
virtual void SetGradientTypeToFixedImage()
typename FixedImageType::IndexType IndexType
typename Superclass::NeighborhoodType NeighborhoodType
double m_DenominatorThreshold
typename Superclass::MovingImagePointer MovingImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
CentralDifferenceImageFunction< FixedImageType > GradientCalculatorType
~VariationalRegistrationDemonsFunction() override=default
SmartPointer< const Self > ConstPointer
typename Superclass::FixedImageType FixedImageType
Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
VariationalRegistrationDemonsFunction()
VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > Superclass
typename FixedImageType::SizeType SizeType
SmartPointer< Self > Pointer
void InitializeIteration() override
virtual double GetIntensityDifferenceThreshold() const
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
PixelType m_ZeroUpdateReturn
typename FixedImageType::SpacingType SpacingType
typename Superclass::MaskImageType MaskImageType
@ GRADIENT_TYPE_SYMMETRIC
typename GradientCalculatorType::Pointer GradientCalculatorPointer
typename Superclass::MaskImagePointer MaskImagePointer
GradientType m_GradientType
typename Superclass::FixedImagePointer FixedImagePointer
virtual void SetIntensityDifferenceThreshold(const double threshold)
typename Superclass::MovingImageType MovingImageType
VariationalRegistrationDemonsFunction Self
typename Superclass::FloatOffsetType FloatOffsetType
GradientCalculatorPointer m_WarpedImageGradientCalculator
static constexpr unsigned int ImageDimension
TFixedImage FixedImageType
typename FixedImageType::ConstPointer FixedImagePointer
TMovingImage MovingImageType
VariationalRegistrationFunction()
static constexpr unsigned int ImageDimension
typename DisplacementFieldType::ConstPointer DisplacementFieldTypePointer
typename MovingImageType::ConstPointer MovingImagePointer
TDisplacementField DisplacementFieldType
Image< MaskImagePixelType, ImageDimension > MaskImageType
typename MaskImageType::ConstPointer MaskImagePointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....