18 #ifndef itkJointHistogramMutualInformationGetValueAndDerivativeThreader_h
19 #define itkJointHistogramMutualInformationGetValueAndDerivativeThreader_h
35 template <
typename TDomainPartitioner,
typename TImageToImageMetric,
typename TJo
intHistogramMetric>
53 using typename Superclass::DomainType;
54 using typename Superclass::AssociateType;
56 using typename Superclass::VirtualPointType;
57 using typename Superclass::VirtualIndexType;
58 using typename Superclass::FixedImagePointType;
59 using typename Superclass::FixedImagePixelType;
60 using typename Superclass::FixedImageGradientType;
61 using typename Superclass::MovingImagePointType;
62 using typename Superclass::MovingImagePixelType;
63 using typename Superclass::MovingImageGradientType;
64 using typename Superclass::MeasureType;
65 using typename Superclass::DerivativeType;
66 using typename Superclass::DerivativeValueType;
67 using typename Superclass::JacobianType;
76 using JointPDFType =
typename JointHistogramMetricType::JointPDFType;
89 BeforeThreadedExecution()
override;
92 AfterThreadedExecution()
override;
95 ProcessPoint(
const VirtualIndexType & virtualIndex,
96 const VirtualPointType & virtualPoint,
97 const FixedImagePointType & mappedFixedPoint,
98 const FixedImagePixelType & fixedImageValue,
99 const FixedImageGradientType & mappedFixedImageGradient,
100 const MovingImagePointType & mappedMovingPoint,
101 const MovingImagePixelType & movingImageValue,
102 const MovingImageGradientType & movingImageGradient,
103 MeasureType & metricValueReturn,
104 DerivativeType & localDerivativeReturn,
124 itkAlignedTypedef(ITK_CACHE_LINE_ALIGNMENT,
125 PaddedJointHistogramMIPerThreadStruct,
126 AlignedJointHistogramMIPerThreadStruct);
132 TJointHistogramMetric * m_JointAssociate{};
137 #ifndef ITK_MANUAL_INSTANTIATION
138 # include "itkJointHistogramMutualInformationGetValueAndDerivativeThreader.hxx"