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