18#ifndef itkDisplacementMagnitudePenaltyTerm_h 
   19#define itkDisplacementMagnitudePenaltyTerm_h 
   33template <
class TFixedImage, 
class 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::TransformParametersType;
 
   66  using typename Superclass::TransformJacobianType;
 
   67  using typename Superclass::InterpolatorType;
 
   68  using typename Superclass::InterpolatorPointer;
 
   69  using typename Superclass::RealType;
 
   70  using typename Superclass::GradientPixelType;
 
   71  using typename Superclass::GradientImageType;
 
   72  using typename Superclass::GradientImagePointer;
 
   77  using typename Superclass::MeasureType;
 
   78  using typename Superclass::DerivativeType;
 
   80  using typename Superclass::ParametersType;
 
  100  GetValue(
const ParametersType & parameters) 
const override;
 
  105  GetDerivative(
const ParametersType & parameters, DerivativeType & derivative) 
const override;
 
  114                        DerivativeType &       derivative) 
const override;
 
 
  138#ifndef ITK_MANUAL_INSTANTIATION 
  139#  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
 
A cost function that calculates .
 
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
 
~DisplacementMagnitudePenaltyTerm() override=default
 
void GetValueAndDerivative(const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const override