ITK  4.13.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric > Class Template Reference

#include <itkCorrelationImageToImageMetricv4HelperThreader.h>

+ Inheritance diagram for itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >:
+ Collaboration diagram for itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >:

Detailed Description

template<typename TDomainPartitioner, typename TImageToImageMetric, typename TCorrelationMetric>
class itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >

Definition at line 36 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

Classes

struct  CorrelationMetricPerThreadStruct
 

Public Types

typedef Superclass::AssociateType AssociateType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
typedef Superclass::DomainType DomainType
 
typedef
Superclass::FixedImageGradientType 
FixedImageGradientType
 
typedef
Superclass::FixedImagePixelType 
FixedImagePixelType
 
typedef
Superclass::FixedImagePointType 
FixedImagePointType
 
typedef
Superclass::FixedOutputPointType 
FixedOutputPointType
 
typedef
Superclass::ImageToImageMetricv4Type 
ImageToImageMetricv4Type
 
typedef
Superclass::InternalComputationValueType 
InternalComputationValueType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingImageGradientType 
MovingImageGradientType
 
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
 
typedef
Superclass::MovingImagePointType 
MovingImagePointType
 
typedef
Superclass::MovingOutputPointType 
MovingOutputPointType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef SmartPointer< SelfPointer
 
typedef
CorrelationImageToImageMetricv4HelperThreader 
Self
 
typedef
ImageToImageMetricv4GetValueAndDerivativeThreader
< TDomainPartitioner,
TImageToImageMetric > 
Superclass
 
typedef
Superclass::VirtualIndexType 
VirtualIndexType
 
typedef
Superclass::VirtualPointType 
VirtualPointType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

virtual void AfterThreadedExecution () override
 
virtual void BeforeThreadedExecution () override
 
 CorrelationImageToImageMetricv4HelperThreader ()
 
virtual bool ProcessPoint (const VirtualIndexType &, const VirtualPointType &, const FixedImagePointType &, const FixedImagePixelType &, const FixedImageGradientType &, const MovingImagePointType &, const MovingImagePixelType &, const MovingImageGradientType &, MeasureType &, DerivativeType &, const ThreadIdType) const override
 
virtual bool ProcessVirtualPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId) override
 
virtual ~CorrelationImageToImageMetricv4HelperThreader () override
 

Private Member Functions

 itkAlignedTypedef (ITK_CACHE_LINE_ALIGNMENT, PaddedCorrelationMetricPerThreadStruct, AlignedCorrelationMetricPerThreadStruct)
 
 itkPadStruct (ITK_CACHE_LINE_ALIGNMENT, CorrelationMetricPerThreadStruct, PaddedCorrelationMetricPerThreadStruct)
 

Private Attributes

TCorrelationMetric * m_CorrelationAssociate
 
AlignedCorrelationMetricPerThreadStruct * m_CorrelationMetricPerThreadVariables
 

Member Typedef Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::AssociateType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::AssociateType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef SmartPointer< const Self > itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ConstPointer
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::DerivativeType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::DerivativeType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::DerivativeValueType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::DerivativeValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::DomainType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::DomainType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::FixedImageGradientType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::FixedImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::FixedImagePixelType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::FixedImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::FixedImagePointType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::FixedImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::FixedOutputPointType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::FixedOutputPointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::ImageToImageMetricv4Type itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ImageToImageMetricv4Type
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::InternalComputationValueType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::InternalComputationValueType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::MeasureType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::MeasureType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::MovingImageGradientType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::MovingImageGradientType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::MovingImagePixelType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::MovingImagePixelType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::MovingImagePointType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::MovingImagePointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::MovingOutputPointType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::MovingOutputPointType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::NumberOfParametersType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::NumberOfParametersType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef SmartPointer< Self > itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Pointer
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef CorrelationImageToImageMetricv4HelperThreader itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Self

Standard class typedefs.

Definition at line 41 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef ImageToImageMetricv4GetValueAndDerivativeThreader< TDomainPartitioner, TImageToImageMetric > itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::Superclass
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::VirtualIndexType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::VirtualIndexType
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
typedef Superclass::VirtualPointType itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::VirtualPointType

Constructor & Destructor Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CorrelationImageToImageMetricv4HelperThreader ( )
protected
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::~CorrelationImageToImageMetricv4HelperThreader ( )
overrideprotectedvirtual

Member Function Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual void itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::AfterThreadedExecution ( )
overrideprotectedvirtual

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).

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual void itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::BeforeThreadedExecution ( )
overrideprotectedvirtual

Overload: Resize and initialize per thread objects.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual::itk::LightObject::Pointer itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CreateAnother ( ) const
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual const char* itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::GetNameOfClass ( ) const
virtual
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::itkAlignedTypedef ( ITK_CACHE_LINE_ALIGNMENT  ,
PaddedCorrelationMetricPerThreadStruct  ,
AlignedCorrelationMetricPerThreadStruct   
)
private
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::itkPadStruct ( ITK_CACHE_LINE_ALIGNMENT  ,
CorrelationMetricPerThreadStruct  ,
PaddedCorrelationMetricPerThreadStruct   
)
private
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
static Pointer itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::New ( )
static
template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual bool itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ProcessPoint ( const VirtualIndexType ,
const VirtualPointType ,
const FixedImagePointType ,
const FixedImagePixelType ,
const FixedImageGradientType ,
const MovingImagePointType ,
const MovingImagePixelType ,
const MovingImageGradientType ,
MeasureType ,
DerivativeType ,
const ThreadIdType   
) const
inlineoverrideprotectedvirtual

Not using. All processing is done in ProcessVirtualPoint.

Definition at line 103 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
virtual bool itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::ProcessVirtualPoint ( const VirtualIndexType virtualIndex,
const VirtualPointType virtualPoint,
const ThreadIdType  threadId 
)
overrideprotectedvirtual

Member Data Documentation

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
TCorrelationMetric* itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::m_CorrelationAssociate
private

Internal pointer to the metric object in use by this threader. This will avoid costly dynamic casting in tight loops.

Definition at line 136 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

template<typename TDomainPartitioner , typename TImageToImageMetric , typename TCorrelationMetric >
AlignedCorrelationMetricPerThreadStruct* itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::m_CorrelationMetricPerThreadVariables
mutableprivate

The documentation for this class was generated from the following file: