18#ifndef itkNormalizedCorrelationImageToImageMetric_h
19#define itkNormalizedCorrelationImageToImageMetric_h
45template <
typename TFixedImage,
typename TMovingImage>
64 using typename Superclass::RealType;
65 using typename Superclass::TransformType;
66 using typename Superclass::TransformPointer;
67 using typename Superclass::TransformParametersType;
68 using typename Superclass::TransformJacobianType;
69 using typename Superclass::GradientPixelType;
70 using typename Superclass::OutputPointType;
71 using typename Superclass::InputPointType;
73 using typename Superclass::MeasureType;
74 using typename Superclass::DerivativeType;
75 using typename Superclass::FixedImageType;
76 using typename Superclass::MovingImageType;
77 using typename Superclass::FixedImageConstPointer;
78 using typename Superclass::MovingImageConstPointer;
98 itkSetMacro(SubtractMean,
bool);
99 itkGetConstReferenceMacro(SubtractMean,
bool);
100 itkBooleanMacro(SubtractMean);
110 bool m_SubtractMean{};
114#ifndef ITK_MANUAL_INSTANTIATION
115# include "itkNormalizedCorrelationImageToImageMetric.hxx"
Array class with size defined at construction time.
Computes similarity between regions of two images.
typename TransformType::ParametersType TransformParametersType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Computes similarity between two images to be registered.
void PrintSelf(std::ostream &os, Indent indent) const override
~NormalizedCorrelationImageToImageMetric() override=default
NormalizedCorrelationImageToImageMetric()
void GetDerivative(const TransformParametersType ¶meters, DerivativeType &derivative) const override
void GetValueAndDerivative(const TransformParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const override
MeasureType GetValue(const TransformParametersType ¶meters) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....