18 #ifndef itkMeanSquaresImageToImageMetric_h
19 #define itkMeanSquaresImageToImageMetric_h
40 template <
typename TFixedImage,
typename TMovingImage>
59 using typename Superclass::TransformType;
60 using typename Superclass::TransformPointer;
61 using typename Superclass::TransformJacobianType;
62 using typename Superclass::InterpolatorType;
63 using typename Superclass::MeasureType;
64 using typename Superclass::DerivativeType;
65 using typename Superclass::ParametersType;
66 using typename Superclass::FixedImageType;
67 using typename Superclass::MovingImageType;
68 using typename Superclass::MovingImagePointType;
69 using typename Superclass::FixedImageConstPointer;
70 using typename Superclass::MovingImageConstPointer;
71 using typename Superclass::CoordinateRepresentationType;
72 using typename Superclass::FixedImageSampleContainer;
73 using typename Superclass::ImageDerivativesType;
74 using typename Superclass::WeightsValueType;
78 using typename Superclass::FixedImagePointType;
81 static constexpr
unsigned int MovingImageDimension = MovingImageType::ImageDimension;
91 Initialize()
override;
111 PrintSelf(std::ostream & os,
Indent indent)
const override;
118 double movingImageValue)
const override;
121 GetValueAndDerivativeThreadProcessSample(
ThreadIdType threadId,
124 double movingImageValue,
134 itkAlignedTypedef(64,
PerThreadS, AlignedPerThreadType);
139 #ifndef ITK_MANUAL_INSTANTIATION
140 # include "itkMeanSquaresImageToImageMetric.hxx"