ITK  4.4.0
Insight Segmentation and Registration Toolkit
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<class TDomainPartitioner, class TImageToImageMetric, class TCorrelationMetric>
class itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >

Definition at line 36 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

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 (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

virtual void AfterThreadedExecution ()
 
virtual void BeforeThreadedExecution ()
 
 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
 
virtual bool ProcessVirtualPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId)
 

Private Member Functions

 CorrelationImageToImageMetricv4HelperThreader (const Self &)
 
void operator= (const Self &)
 

Private Attributes

TCorrelationMetric * m_CorrelationAssociate
 
std::vector
< InternalComputationValueType
m_FixSumPerThread
 
std::vector
< InternalComputationValueType
m_MovSumPerThread
 

Member Typedef Documentation

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

Standard class typedefs.

Definition at line 41 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

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

Constructor & Destructor Documentation

template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CorrelationImageToImageMetricv4HelperThreader ( )
inlineprotected
template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CorrelationImageToImageMetricv4HelperThreader ( const Self )
private

Member Function Documentation

template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
virtual void itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::AfterThreadedExecution ( )
protectedvirtual

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<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
virtual void itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::BeforeThreadedExecution ( )
protectedvirtual

Overload: Resize and initialize per thread objects.

template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
virtual::itk::LightObject::Pointer itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::CreateAnother ( void  ) const
template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
virtual const char* itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::GetNameOfClass ( ) const
virtual
template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
static Pointer itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::New ( )
static
template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
void itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::operator= ( const Self )
private
template<class TDomainPartitioner , class TImageToImageMetric , class 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
inlineprotectedvirtual

Not using. All processing is done in ProcessVirtualPoint.

Definition at line 102 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

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

Member Data Documentation

template<class TDomainPartitioner , class TImageToImageMetric , class 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 128 of file itkCorrelationImageToImageMetricv4HelperThreader.h.

template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
std::vector< InternalComputationValueType > itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::m_FixSumPerThread
mutableprivate
template<class TDomainPartitioner , class TImageToImageMetric , class TCorrelationMetric >
std::vector< InternalComputationValueType > itk::CorrelationImageToImageMetricv4HelperThreader< TDomainPartitioner, TImageToImageMetric, TCorrelationMetric >::m_MovSumPerThread
mutableprivate

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