18#ifndef itkNormalizedCorrelationPointSetToImageMetric_h
19#define itkNormalizedCorrelationPointSetToImageMetric_h
43template <
typename TFixedPo
intSet,
typename TMovingImage>
63 using typename Superclass::RealType;
64 using typename Superclass::TransformType;
65 using typename Superclass::TransformPointer;
66 using typename Superclass::TransformParametersType;
67 using typename Superclass::TransformJacobianType;
68 using typename Superclass::GradientPixelType;
70 using typename Superclass::MeasureType;
71 using typename Superclass::DerivativeType;
72 using typename Superclass::FixedPointSetType;
73 using typename Superclass::MovingImageType;
74 using typename Superclass::FixedPointSetConstPointer;
75 using typename Superclass::MovingImageConstPointer;
77 using typename Superclass::PointIterator;
78 using typename Superclass::PointDataIterator;
79 using typename Superclass::InputPointType;
80 using typename Superclass::OutputPointType;
100 itkSetMacro(SubtractMean,
bool);
101 itkGetConstReferenceMacro(SubtractMean,
bool);
102 itkBooleanMacro(SubtractMean);
112 bool m_SubtractMean{};
116#ifndef ITK_MANUAL_INSTANTIATION
117# include "itkNormalizedCorrelationPointSetToImageMetric.hxx"
Array class with size defined at construction time.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes similarity between pixel values of a point set and intensity values of an image.
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const override
~NormalizedCorrelationPointSetToImageMetric() override=default
MeasureType GetValue(const TransformParametersType ¶meters) const override
NormalizedCorrelationPointSetToImageMetric()
void PrintSelf(std::ostream &os, Indent indent) const override
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const override
Computes similarity between a point set and an image.
typename TransformType::ParametersType TransformParametersType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....