18 #ifndef itkImageToImageMetricv4GetValueAndDerivativeThreader_h
19 #define itkImageToImageMetricv4GetValueAndDerivativeThreader_h
43 template <
typename TDomainPartitioner,
typename TImageToImageMetricv4>
51 template <
typename TImageToImageMetricv4>
54 TImageToImageMetricv4>
56 ThreadedImageRegionPartitioner<TImageToImageMetricv4::VirtualImageDimension>,
57 TImageToImageMetricv4>
66 TImageToImageMetricv4>;
73 using typename Superclass::DomainType;
74 using typename Superclass::AssociateType;
79 using typename Superclass::VirtualIndexType;
80 using typename Superclass::VirtualPointType;
81 using typename Superclass::FixedImagePointType;
82 using typename Superclass::FixedImagePixelType;
83 using typename Superclass::FixedImageGradientType;
84 using typename Superclass::MovingImagePointType;
85 using typename Superclass::MovingImagePixelType;
86 using typename Superclass::MovingImageGradientType;
88 using typename Superclass::FixedTransformType;
89 using typename Superclass::FixedOutputPointType;
90 using typename Superclass::MovingTransformType;
91 using typename Superclass::MovingOutputPointType;
93 using typename Superclass::MeasureType;
94 using typename Superclass::DerivativeType;
95 using typename Superclass::DerivativeValueType;
96 using typename Superclass::JacobianType;
98 using typename Superclass::InternalComputationValueType;
99 using typename Superclass::NumberOfParametersType;
100 using typename Superclass::ImageDimensionType;
117 return this->m_CachedNumberOfParameters;
119 inline NumberOfParametersType
122 return this->m_CachedNumberOfLocalParameters;
131 template <
typename TImageToImageMetricv4>
132 class ITK_TEMPLATE_EXPORT
135 TImageToImageMetricv4>
150 using typename Superclass::DomainType;
151 using typename Superclass::AssociateType;
156 using typename Superclass::VirtualIndexType;
157 using typename Superclass::VirtualPointType;
158 using typename Superclass::FixedImagePointType;
159 using typename Superclass::FixedImagePixelType;
160 using typename Superclass::FixedImageGradientType;
161 using typename Superclass::MovingImagePointType;
162 using typename Superclass::MovingImagePixelType;
163 using typename Superclass::MovingImageGradientType;
165 using typename Superclass::FixedTransformType;
166 using typename Superclass::FixedOutputPointType;
167 using typename Superclass::MovingTransformType;
168 using typename Superclass::MovingOutputPointType;
170 using typename Superclass::MeasureType;
171 using typename Superclass::DerivativeType;
172 using typename Superclass::DerivativeValueType;
173 using typename Superclass::JacobianType;
175 using typename Superclass::InternalComputationValueType;
176 using typename Superclass::NumberOfParametersType;
193 return this->m_CachedNumberOfParameters;
195 inline NumberOfParametersType
198 return this->m_CachedNumberOfLocalParameters;
205 #ifndef ITK_MANUAL_INSTANTIATION
206 # include "itkImageToImageMetricv4GetValueAndDerivativeThreader.hxx"