18 #ifndef itkImageToImageMetricv4GetValueAndDerivativeThreaderBase_h
19 #define itkImageToImageMetricv4GetValueAndDerivativeThreaderBase_h
43 template <
typename TDomainPartitioner,
typename TImageToImageMetricv4 >
45 :
public DomainThreader< TDomainPartitioner, TImageToImageMetricv4 >
80 using MeasureType =
typename ImageToImageMetricv4Type::MeasureType;
83 using JacobianType =
typename ImageToImageMetricv4Type::JacobianType;
93 virtual bool GetComputeDerivative()
const;
100 void BeforeThreadedExecution()
override;
108 void AfterThreadedExecution()
override;
147 virtual bool ProcessPoint(
164 virtual void StorePointDerivativeResult(
const VirtualIndexType & virtualIndex,
190 PaddedGetValueAndDerivativePerThreadStruct);
191 itkAlignedTypedef( ITK_CACHE_LINE_ALIGNMENT, PaddedGetValueAndDerivativePerThreadStruct,
192 AlignedGetValueAndDerivativePerThreadStruct );
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.hxx"
typename DomainPartitionerType::DomainType DomainType
typename ImageToImageMetricv4Type::ImageDimensionType ImageDimensionType
NumberOfParametersType m_CachedNumberOfParameters
Light weight base class for most itk classes.
Multi-threaded processing on a domain by processing sub-domains per thread.
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
unsigned long SizeValueType
typename ImageToImageMetricv4Type::VirtualIndexType VirtualIndexType
typename ImageToImageMetricv4Type::VirtualPointType VirtualPointType
SizeValueType NumberOfValidPoints
typename ImageToImageMetricv4Type::NumberOfParametersType NumberOfParametersType
DerivativeType Derivatives
typename ImageToImageMetricv4Type::MovingImagePointType MovingImagePointType
InternalComputationValueType Measure
typename ImageToImageMetricv4Type::FixedImageGradientType FixedImageGradientType
typename ImageToImageMetricv4Type::InternalComputationValueType InternalComputationValueType
JacobianType MovingTransformJacobian
typename ImageToImageMetricv4Type::JacobianType JacobianType
typename ImageToImageMetricv4Type::FixedImageIndexType FixedImageIndexType
AlignedGetValueAndDerivativePerThreadStruct * m_GetValueAndDerivativePerThreadVariables
typename ImageToImageMetricv4Type::VirtualImageType VirtualImageType
JacobianType MovingTransformJacobianPositional
typename ImageToImageMetricv4Type::MeasureType MeasureType
typename ImageToImageMetricv4Type::DerivativeType DerivativeType
std::vector< CompensatedDerivativeValueType > CompensatedDerivativeType
TImageToImageMetricv4 AssociateType
Perform more precise accumulation of floating point numbers.
DerivativeType LocalDerivatives
unsigned int ThreadIdType
typename ImageToImageMetricv4Type::MovingImageGradientType MovingImageGradientType
typename FixedTransformType::OutputPointType FixedOutputPointType
typename ImageToImageMetricv4Type::MovingTransformType MovingTransformType
typename ImageToImageMetricv4Type::DerivativeValueType DerivativeValueType
typename ImageToImageMetricv4Type::MovingImagePixelType MovingImagePixelType
TImageToImageMetricv4 ImageToImageMetricv4Type
typename ImageToImageMetricv4Type::FixedTransformType FixedTransformType
typename ImageToImageMetricv4Type::FixedImagePixelType FixedImagePixelType
typename ImageToImageMetricv4Type::FixedImagePointType FixedImagePointType
CompensatedDerivativeType CompensatedDerivatives
typename MovingTransformType::OutputPointType MovingOutputPointType
NumberOfParametersType m_CachedNumberOfLocalParameters