18 #ifndef itkImageToImageMetricv4GetValueAndDerivativeThreader_h
19 #define itkImageToImageMetricv4GetValueAndDerivativeThreader_h
43 template <
typename TDomainPartitioner,
typename TImageToImageMetricv4>
50 template <
typename TImageToImageMetricv4>
53 TImageToImageMetricv4>
55 ThreadedImageRegionPartitioner<TImageToImageMetricv4::VirtualImageDimension>,
56 TImageToImageMetricv4>
65 TImageToImageMetricv4>;
72 using typename Superclass::DomainType;
73 using typename Superclass::AssociateType;
78 using typename Superclass::VirtualIndexType;
79 using typename Superclass::VirtualPointType;
80 using typename Superclass::FixedImagePointType;
81 using typename Superclass::FixedImagePixelType;
82 using typename Superclass::FixedImageGradientType;
83 using typename Superclass::MovingImagePointType;
84 using typename Superclass::MovingImagePixelType;
85 using typename Superclass::MovingImageGradientType;
87 using typename Superclass::FixedTransformType;
88 using typename Superclass::FixedOutputPointType;
89 using typename Superclass::MovingTransformType;
90 using typename Superclass::MovingOutputPointType;
92 using typename Superclass::MeasureType;
93 using typename Superclass::DerivativeType;
94 using typename Superclass::DerivativeValueType;
95 using typename Superclass::JacobianType;
97 using typename Superclass::InternalComputationValueType;
98 using typename Superclass::NumberOfParametersType;
99 using typename Superclass::ImageDimensionType;
116 return this->m_CachedNumberOfParameters;
118 inline NumberOfParametersType
121 return this->m_CachedNumberOfLocalParameters;
130 template <
typename TImageToImageMetricv4>
131 class ITK_TEMPLATE_EXPORT
134 TImageToImageMetricv4>
149 using typename Superclass::DomainType;
150 using typename Superclass::AssociateType;
155 using typename Superclass::VirtualIndexType;
156 using typename Superclass::VirtualPointType;
157 using typename Superclass::FixedImagePointType;
158 using typename Superclass::FixedImagePixelType;
159 using typename Superclass::FixedImageGradientType;
160 using typename Superclass::MovingImagePointType;
161 using typename Superclass::MovingImagePixelType;
162 using typename Superclass::MovingImageGradientType;
164 using typename Superclass::FixedTransformType;
165 using typename Superclass::FixedOutputPointType;
166 using typename Superclass::MovingTransformType;
167 using typename Superclass::MovingOutputPointType;
169 using typename Superclass::MeasureType;
170 using typename Superclass::DerivativeType;
171 using typename Superclass::DerivativeValueType;
172 using typename Superclass::JacobianType;
174 using typename Superclass::InternalComputationValueType;
175 using typename Superclass::NumberOfParametersType;
192 return this->m_CachedNumberOfParameters;
194 inline NumberOfParametersType
197 return this->m_CachedNumberOfLocalParameters;
204 #ifndef ITK_MANUAL_INSTANTIATION
205 # include "itkImageToImageMetricv4GetValueAndDerivativeThreader.hxx"