18 #ifndef itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader_h
19 #define itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader_h
34 template <
typename TDomainPartitioner,
typename TImageToImageMetric,
typename TMattesMutualInformationMetric >
49 typedef typename Superclass::DomainType
DomainType;
69 typedef typename TMattesMutualInformationMetric::PDFValueType
PDFValueType;
70 typedef typename TMattesMutualInformationMetric::JointPDFType
JointPDFType;
84 typedef typename TMattesMutualInformationMetric::JacobianType
JacobianType;
88 m_MattesAssociate(ITK_NULLPTR)
91 virtual void BeforeThreadedExecution() ITK_OVERRIDE;
93 virtual
void AfterThreadedExecution() ITK_OVERRIDE;
98 virtual
bool ProcessPoint(
99 const VirtualIndexType & virtualIndex,
100 const VirtualPointType & virtualPoint,
101 const FixedImagePointType & mappedFixedPoint,
102 const FixedImagePixelType & mappedFixedPixelValue,
103 const FixedImageGradientType & mappedFixedImageGradient,
104 const MovingImagePointType & mappedMovingPoint,
105 const MovingImagePixelType & mappedMovingPixelValue,
106 const MovingImageGradientType & mappedMovingImageGradient,
107 MeasureType & metricValueReturn,
108 DerivativeType & localDerivativeReturn,
112 virtual
void ComputePDFDerivativesLocalSupportTransform(
113 const JacobianType & jacobian,
114 const MovingImageGradientType & movingGradient,
115 const PDFValueType & cubicBSplineDerivativeValue,
116 DerivativeValueType * localSupportDerivativeResultPtr) const;
123 TMattesMutualInformationMetric * m_MattesAssociate;
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkMattesMutualInformationImageToImageMetricv4GetValueAndDerivativeThreader.hxx"
unsigned int ThreadIdType
Provides threading for ImageToImageMetricv4::GetValueAndDerivative.