18 #ifndef itkMeanSquaresImageToImageMetricv4_h
19 #define itkMeanSquaresImageToImageMetricv4_h
40 template <
typename TFixedImage,
41 typename TMovingImage,
42 typename TVirtualImage = TFixedImage,
43 typename TInternalComputationValueType = double,
44 typename TMetricTraits =
45 DefaultImageToImageMetricTraitsv4<TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType>>
47 :
public ImageToImageMetricv4<TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits>
65 using typename Superclass::DerivativeType;
67 using typename Superclass::FixedImagePointType;
68 using typename Superclass::FixedImagePixelType;
69 using typename Superclass::FixedImageGradientType;
71 using typename Superclass::MovingImagePointType;
72 using typename Superclass::MovingImagePixelType;
73 using typename Superclass::MovingImageGradientType;
75 using typename Superclass::MovingTransformType;
76 using typename Superclass::JacobianType;
78 using typename Superclass::VirtualIndexType;
79 using typename Superclass::VirtualPointType;
80 using typename Superclass::VirtualPointSetType;
83 static constexpr
typename TVirtualImage::ImageDimensionType VirtualImageDimension = TVirtualImage::ImageDimension;
84 static constexpr
typename TFixedImage::ImageDimensionType FixedImageDimension = TFixedImage::ImageDimension;
85 static constexpr
typename TMovingImage::ImageDimensionType MovingImageDimension = TMovingImage::ImageDimension;
100 ThreadedImageRegionPartitioner<Superclass::VirtualImageDimension>,
107 PrintSelf(std::ostream & os, Indent indent) const override;
112 #ifndef ITK_MANUAL_INSTANTIATION
113 # include "itkMeanSquaresImageToImageMetricv4.hxx"