18#ifndef itkMeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader_h
19#define itkMeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader_h
32template <
typename TDomainPartitioner,
typename TImageToImageMetric,
typename TMeanSquaresMetric>
49 using typename Superclass::DomainType;
50 using typename Superclass::AssociateType;
53 using typename Superclass::VirtualPointType;
54 using typename Superclass::VirtualIndexType;
55 using typename Superclass::FixedImagePointType;
56 using typename Superclass::FixedImagePixelType;
57 using typename Superclass::FixedImageGradientType;
58 using typename Superclass::MovingImagePointType;
59 using typename Superclass::MovingImagePixelType;
60 using typename Superclass::MovingImageGradientType;
61 using typename Superclass::MeasureType;
62 using typename Superclass::DerivativeType;
63 using typename Superclass::DerivativeValueType;
64 using typename Superclass::NumberOfParametersType;
74 const VirtualPointType & virtualPoint,
75 const FixedImagePointType & mappedFixedPoint,
76 const FixedImagePixelType & fixedImageValue,
77 const FixedImageGradientType & mappedFixedImageGradient,
78 const MovingImagePointType & mappedMovingPoint,
79 const MovingImagePixelType & movingImageValue,
80 const MovingImageGradientType & movingImageGradient,
81 MeasureType & metricValueReturn,
82 DerivativeType & localDerivativeReturn,
88#ifndef ITK_MANUAL_INSTANTIATION
89# include "itkMeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader.hxx"
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
Processes points for MeanSquaresImageToImageMetricv4 GetValueAndDerivative.
MeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader()=default
bool ProcessPoint(const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const FixedImagePointType &mappedFixedPoint, const FixedImagePixelType &fixedImageValue, const FixedImageGradientType &mappedFixedImageGradient, const MovingImagePointType &mappedMovingPoint, const MovingImagePixelType &movingImageValue, const MovingImageGradientType &movingImageGradient, MeasureType &metricValueReturn, DerivativeType &localDerivativeReturn, const ThreadIdType threadId) const override
typename Superclass::ImageToImageMetricv4Type ImageToImageMetricv4Type
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType