18#ifndef itkDisplacementMagnitudePenaltyTerm_h
19#define itkDisplacementMagnitudePenaltyTerm_h
33template <
typename TFixedImage,
typename TScalarType>
52 using typename Superclass::CoordinateRepresentationType;
53 using typename Superclass::MovingImageType;
54 using typename Superclass::MovingImagePixelType;
56 using typename Superclass::MovingImageConstPointer;
57 using typename Superclass::FixedImageType;
59 using typename Superclass::FixedImageConstPointer;
60 using typename Superclass::FixedImageRegionType;
62 using typename Superclass::TransformPointer;
63 using typename Superclass::InputPointType;
64 using typename Superclass::OutputPointType;
65 using typename Superclass::TransformJacobianType;
66 using typename Superclass::InterpolatorType;
67 using typename Superclass::InterpolatorPointer;
68 using typename Superclass::RealType;
69 using typename Superclass::GradientPixelType;
70 using typename Superclass::GradientImageType;
71 using typename Superclass::GradientImagePointer;
76 using typename Superclass::MeasureType;
77 using typename Superclass::DerivativeType;
79 using typename Superclass::ParametersType;
99 GetValue(
const ParametersType & parameters)
const override;
104 GetDerivative(
const ParametersType & parameters, DerivativeType & derivative)
const override;
113 DerivativeType & derivative)
const override;
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkDisplacementMagnitudePenaltyTerm.hxx"
typename TransformType::OutputPointType MovingImagePointType
typename ImageSamplerType::OutputVectorContainerPointer ImageSampleContainerPointer
typename AdvancedTransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
typename FixedImageType::PixelType FixedImagePixelType
typename DerivativeType::ValueType DerivativeValueType
typename FixedImageIndexType::IndexValueType FixedImageIndexValueType
typename MovingImageType::IndexType MovingImageIndexType
typename ImageSamplerType::OutputVectorContainerType ImageSampleContainerType
typename MovingImageType::Pointer MovingImagePointer
ImageMaskSpatialObject< Self::FixedImageDimension > FixedImageMaskType
typename FixedImageType::Pointer FixedImagePointer
typename FixedImageType::IndexType FixedImageIndexType
SmartPointer< MovingImageMaskType > MovingImageMaskPointer
typename TransformType::InputPointType FixedImagePointType
SmartPointer< FixedImageMaskType > FixedImageMaskPointer
typename InterpolatorType::ContinuousIndexType MovingImageContinuousIndexType
ImageMaskSpatialObject< Self::MovingImageDimension > MovingImageMaskType
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
DisplacementMagnitudePenaltyTerm()
SmartPointer< const Self > ConstPointer
MeasureType GetValue(const ParametersType ¶meters) const override
ITK_DISALLOW_COPY_AND_MOVE(DisplacementMagnitudePenaltyTerm)
void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const override
itkOverrideGetNameOfClassMacro(DisplacementMagnitudePenaltyTerm)
TransformPenaltyTerm< typename MetricBase< TElastix >::FixedImageType, double > Superclass
~DisplacementMagnitudePenaltyTerm() override=default
void GetValueAndDerivative(const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const override
SmartPointer< Self > Pointer
DisplacementMagnitudePenaltyTerm Self