18 #ifndef itkCorrelationImageToImageMetricv4GetValueAndDerivativeThreader_h 19 #define itkCorrelationImageToImageMetricv4GetValueAndDerivativeThreader_h 32 template <
typename TDomainPartitioner,
typename TImageToImageMetric,
typename TCorrelationMetric >
47 typedef typename Superclass::DomainType
DomainType;
97 const VirtualPointType & virtualPoint,
103 virtual
bool ProcessPoint(const VirtualIndexType & virtualIndex,
104 const VirtualPointType & virtualPoint,
105 const FixedImagePointType & mappedFixedPoint,
106 const FixedImagePixelType & mappedFixedPixelValue,
107 const FixedImageGradientType & mappedFixedImageGradient,
108 const MovingImagePointType & mappedMovingPoint,
109 const MovingImagePixelType & mappedMovingPixelValue,
110 const MovingImageGradientType & mappedMovingImageGradient,
111 MeasureType & metricValueReturn,
112 DerivativeType & localDerivativeReturn,
117 void operator=( const Self & ) ITK_DELETE_FUNCTION;
129 InternalComputationValueType
fm;
130 InternalComputationValueType
m2;
131 InternalComputationValueType
f2;
132 InternalComputationValueType
m;
133 InternalComputationValueType
f;
139 PaddedCorrelationMetricValueDerivativePerThreadStruct);
140 itkAlignedTypedef( ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationMetricValueDerivativePerThreadStruct,
141 AlignedCorrelationMetricValueDerivativePerThreadStruct );
152 #ifndef ITK_MANUAL_INSTANTIATION 153 #include "itkCorrelationImageToImageMetricv4GetValueAndDerivativeThreader.hxx" InternalComputationValueType m2
InternalComputationValueType f2
itkPadStruct(ITK_CACHE_LINE_ALIGNMENT, CorrelationMetricValueDerivativePerThreadStruct, PaddedCorrelationMetricValueDerivativePerThreadStruct)
virtual void BeforeThreadedExecution() override
virtual bool ProcessVirtualPoint(const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId) override
Superclass::AssociateType AssociateType
InternalComputationValueType f
Superclass::MeasureType MeasureType
Superclass::InternalComputationValueType InternalComputationValueType
InternalComputationValueType fm
ImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric > Superclass
FixedTransformType::OutputPointType FixedOutputPointType
CorrelationImageToImageMetricv4GetValueAndDerivativeThreader Self
Superclass::DerivativeType DerivativeType
Superclass::VirtualPointType VirtualPointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< const Self > ConstPointer
Superclass::FixedImageGradientType FixedImageGradientType
Processes points for CorrelationImageToImageMetricv4 GetValueAndDerivative.
TCorrelationMetric * m_CorrelationAssociate
InternalComputationValueType m
virtual ~CorrelationImageToImageMetricv4GetValueAndDerivativeThreader()
Superclass::DerivativeValueType DerivativeValueType
MovingTransformType::OutputPointType MovingOutputPointType
CorrelationImageToImageMetricv4GetValueAndDerivativeThreader()
AlignedCorrelationMetricValueDerivativePerThreadStruct * m_CorrelationMetricValueDerivativePerThreadVariables
unsigned int ThreadIdType
Superclass::VirtualIndexType VirtualIndexType
Superclass::DomainType DomainType
Superclass::NumberOfParametersType NumberOfParametersType
virtual void AfterThreadedExecution() override
itkAlignedTypedef(ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationMetricValueDerivativePerThreadStruct, AlignedCorrelationMetricValueDerivativePerThreadStruct)
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.
Superclass::FixedImagePixelType FixedImagePixelType
Superclass::ImageToImageMetricv4Type ImageToImageMetricv4Type
Superclass::FixedImagePointType FixedImagePointType
virtual bool ProcessPoint(const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const FixedImagePointType &mappedFixedPoint, const FixedImagePixelType &mappedFixedPixelValue, const FixedImageGradientType &mappedFixedImageGradient, const MovingImagePointType &mappedMovingPoint, const MovingImagePixelType &mappedMovingPixelValue, const MovingImageGradientType &mappedMovingImageGradient, MeasureType &metricValueReturn, DerivativeType &localDerivativeReturn, const ThreadIdType threadId) const override
Superclass::MovingImageGradientType MovingImageGradientType
ImageToImageMetricv4Type::FixedTransformType FixedTransformType
Superclass::MovingImagePointType MovingImagePointType
SmartPointer< Self > Pointer
Superclass::MovingImagePixelType MovingImagePixelType
ImageToImageMetricv4Type::MovingTransformType MovingTransformType