18#ifndef itkImageToImageMetricv4GetValueAndDerivativeThreader_h
19#define itkImageToImageMetricv4GetValueAndDerivativeThreader_h
43template <
typename TDomainPartitioner,
typename TImageToImageMetricv4>
51template <
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;
131template <
typename TImageToImageMetricv4>
132class 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"
typename DomainPartitionerType::DomainType DomainType
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
typename ImageToImageMetricv4Type::NumberOfParametersType NumberOfParametersType
TImageToImageMetricv4 ImageToImageMetricv4Type
ImageToImageMetricv4GetValueAndDerivativeThreader()=default
NumberOfParametersType GetCachedNumberOfParameters() const
typename Superclass::VirtualImageType VirtualImageType
void ThreadedExecution(const DomainType &imageSubRegion, const ThreadIdType threadId) override
NumberOfParametersType GetCachedNumberOfLocalParameters() const
NumberOfParametersType GetCachedNumberOfLocalParameters() const
ImageToImageMetricv4GetValueAndDerivativeThreader()=default
typename Superclass::VirtualImageType VirtualImageType
NumberOfParametersType GetCachedNumberOfParameters() const
void ThreadedExecution(const DomainType &indexSubRange, const ThreadIdType threadId) override
typename Superclass::ImageToImageMetricv4Type ImageToImageMetricv4Type
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
Light weight base class for most itk classes.
Class for partitioning of an ImageRegion.
Partitions an indexed container.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType