#include <itkCorrelationImageToImageMetricv4HelperThreader.h>
Definition at line 38 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
Inheritance diagram for itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >:
Collaboration diagram for itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >:Classes | |
| struct | CorrelationMetricPerThreadStruct |
Public Types | |
| using | ConstPointer = SmartPointer<const Self> |
| using | ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type |
| using | Pointer = SmartPointer<Self> |
| using | Self = CorrelationImageToImageMetricv4HelperThreader |
| using | Superclass = ImageToImageMetricv4GetValueAndDerivativeThreader<TDomainPartitioner, TImageToImageMetric> |
Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| void | AfterThreadedExecution () override |
| void | BeforeThreadedExecution () override |
| CorrelationImageToImageMetricv4HelperThreader () | |
| bool | ProcessPoint (const VirtualIndexType &, const VirtualPointType &, const FixedImagePointType &, const FixedImagePixelType &, const FixedImageGradientType &, const MovingImagePointType &, const MovingImagePixelType &, const MovingImageGradientType &, MeasureType &, DerivativeType &, const ThreadIdType) const override |
| bool | ProcessVirtualPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId) override |
| ~CorrelationImageToImageMetricv4HelperThreader () override=default | |
Private Member Functions | |
| itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationMetricPerThreadStruct, AlignedCorrelationMetricPerThreadStruct) | |
| itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, CorrelationMetricPerThreadStruct, PaddedCorrelationMetricPerThreadStruct) | |
Private Attributes | |
| TCorrelationMetric * | m_CorrelationAssociate {} |
| std::unique_ptr< AlignedCorrelationMetricPerThreadStruct[]> | m_CorrelationMetricPerThreadVariables |
| using itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ConstPointer = SmartPointer<const Self> |
Definition at line 48 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
| using itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ImageToImageMetricv4Type = typename Superclass::ImageToImageMetricv4Type |
Definition at line 57 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
| using itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Pointer = SmartPointer<Self> |
Definition at line 47 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
| using itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Self = CorrelationImageToImageMetricv4HelperThreader |
Standard class type aliases.
Definition at line 45 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
| using itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Superclass = ImageToImageMetricv4GetValueAndDerivativeThreader<TDomainPartitioner, TImageToImageMetric> |
Definition at line 46 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
Overload: Collects the results from each thread and sums them. Results are stored in the enclosing class m_Value and m_DerivativeResult. Behavior depends on m_AverageValueAndDerivativeByNumberOfValuePoints, m_NumberOfValidPoints, to average the value sum, and to average derivative sums for global transforms only (i.e. transforms without local support).
|
overrideprotected |
Overload: Resize and initialize per thread objects.
| virtual::itk::LightObject::Pointer itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CreateAnother | ( | ) | const |
|
virtual |
|
private |
|
private |
|
static |
|
inlineoverrideprotected |
Not using. All processing is done in ProcessVirtualPoint.
Definition at line 111 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
|
overrideprotected |
|
private |
Internal pointer to the metric object in use by this threader. This will avoid costly dynamic casting in tight loops.
Definition at line 141 of file itkCorrelationImageToImageMetricv4HelperThreader.h.
|
private |
Definition at line 137 of file itkCorrelationImageToImageMetricv4HelperThreader.h.