18 #ifndef itkVariationalRegistrationDemonsFunction_h
19 #define itkVariationalRegistrationDemonsFunction_h
54 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField >
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkVariationalRegistrationDemonsFunction.hxx"
typename Superclass::FixedImagePointer FixedImagePointer
Base class for force calculation in the variational registration framework.
Light weight base class for most itk classes.
~VariationalRegistrationDemonsFunction() override
virtual void SetGradientTypeToWarpedMovingImage()
typename MaskImageType::ConstPointer MaskImagePointer
typename Superclass::DisplacementFieldType DisplacementFieldType
typename Superclass::PixelType PixelType
typename DisplacementFieldType::ConstPointer DisplacementFieldTypePointer
double m_DenominatorThreshold
GradientCalculatorPointer m_FixedImageGradientCalculator
virtual void SetIntensityDifferenceThreshold(const double threshold)
typename Superclass::FixedImageType FixedImageType
TFixedImage FixedImageType
typename GradientCalculatorType::Pointer GradientCalculatorPointer
GradientCalculatorPointer m_WarpedImageGradientCalculator
Calculate the derivative by central differencing.
void InitializeIteration() override
typename Superclass::MovingImagePointer MovingImagePointer
typename FixedImageType::IndexType IndexType
virtual void SetGradientTypeToSymmetric()
typename ImageType::PixelType PixelType
virtual double GetIntensityDifferenceThreshold() const
Image< MaskImagePixelType, ImageDimension > MaskImageType
Vector< float, Self::ImageDimension > FloatOffsetType
static constexpr unsigned int ImageDimension
TDisplacementField DisplacementFieldType
ImageBaseType::SizeType SizeType
VariationalRegistrationDemonsFunction()
ImageBaseType::IndexType IndexType
GradientType m_GradientType
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
typename Superclass::MaskImagePointer MaskImagePointer
typename Superclass::GlobalDataStruct GlobalDataStruct
typename FixedImageType::ConstPointer FixedImagePointer
virtual void SetGradientTypeToFixedImage()
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
typename MovingImageType::ConstPointer MovingImagePointer
SmartPointer< Self > Pointer
double m_IntensityDifferenceThreshold
typename Superclass::MaskImageType MaskImageType
static constexpr unsigned int ImageDimension
typename FixedImageType::SizeType SizeType
PixelType m_ZeroUpdateReturn
TMovingImage MovingImageType
ConstNeighborhoodIterator< TDisplacementField, DefaultBoundaryConditionType > NeighborhoodType
typename Superclass::NeighborhoodType NeighborhoodType
This class computes different Demon forces in the variational registration framework.
typename Superclass::MovingImageType MovingImageType
typename FixedImageType::SpacingType SpacingType
typename Superclass::FloatOffsetType FloatOffsetType