ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 > Class Template Reference

#include <itkImageToImageMetricv4GetValueAndDerivativeThreader.h>

+ Inheritance diagram for itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >:
+ Collaboration diagram for itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >:

Detailed Description

template<class TImageToImageMetricv4>
class itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >

Definition at line 127 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.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::FixedTransformType 
FixedTransformType
 
typedef
Superclass::ImageToImageMetricv4Type 
ImageToImageMetricv4Type
 
typedef
Superclass::InternalComputationValueType 
InternalComputationValueType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingImageGradientType 
MovingImageGradientType
 
typedef
Superclass::MovingImagePixelType 
MovingImagePixelType
 
typedef
Superclass::MovingImagePointType 
MovingImagePointType
 
typedef
Superclass::MovingOutputPointType 
MovingOutputPointType
 
typedef
Superclass::MovingTransformType 
MovingTransformType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef SmartPointer< SelfPointer
 
typedef
ImageToImageMetricv4GetValueAndDerivativeThreader 
Self
 
typedef
ImageToImageMetricv4GetValueAndDerivativeThreaderBase
< ThreadedIndexedContainerPartitioner,
TImageToImageMetricv4 > 
Superclass
 
typedef
Superclass::VirtualImageType 
VirtualImageType
 
typedef
Superclass::VirtualIndexType 
VirtualIndexType
 
typedef
Superclass::VirtualPointType 
VirtualPointType
 
- Public Types inherited from itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
typedef Superclass::AssociateType AssociateType
 
typedef std::vector
< CompensatedDerivativeValueType
CompensatedDerivativeType
 
typedef CompensatedSummation
< DerivativeValueType
CompensatedDerivativeValueType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ImageToImageMetricv4Type::DerivativeType 
DerivativeType
 
typedef
ImageToImageMetricv4Type::DerivativeValueType 
DerivativeValueType
 
typedef Superclass::DomainType DomainType
 
typedef
ImageToImageMetricv4Type::FixedImageGradientType 
FixedImageGradientType
 
typedef
ImageToImageMetricv4Type::FixedImageIndexType 
FixedImageIndexType
 
typedef
ImageToImageMetricv4Type::FixedImagePixelType 
FixedImagePixelType
 
typedef
ImageToImageMetricv4Type::FixedImagePointType 
FixedImagePointType
 
typedef
FixedTransformType::OutputPointType 
FixedOutputPointType
 
typedef
ImageToImageMetricv4Type::FixedTransformType 
FixedTransformType
 
typedef
ImageToImageMetricv4Type::ImageDimensionType 
ImageDimensionType
 
typedef TImageToImageMetricv4 ImageToImageMetricv4Type
 
typedef
ImageToImageMetricv4Type::InternalComputationValueType 
InternalComputationValueType
 
typedef
ImageToImageMetricv4Type::JacobianType 
JacobianType
 
typedef
ImageToImageMetricv4Type::MeasureType 
MeasureType
 
typedef
ImageToImageMetricv4Type::MovingImageGradientType 
MovingImageGradientType
 
typedef
ImageToImageMetricv4Type::MovingImagePixelType 
MovingImagePixelType
 
typedef
ImageToImageMetricv4Type::MovingImagePointType 
MovingImagePointType
 
typedef
MovingTransformType::OutputPointType 
MovingOutputPointType
 
typedef
ImageToImageMetricv4Type::MovingTransformType 
MovingTransformType
 
typedef
ImageToImageMetricv4Type::NumberOfParametersType 
NumberOfParametersType
 
typedef SmartPointer< SelfPointer
 
typedef
ImageToImageMetricv4GetValueAndDerivativeThreaderBase 
Self
 
typedef DomainThreader
< ThreadedIndexedContainerPartitioner,
TImageToImageMetricv4 > 
Superclass
 
typedef
ImageToImageMetricv4Type::VirtualImageType 
VirtualImageType
 
typedef
ImageToImageMetricv4Type::VirtualIndexType 
VirtualIndexType
 
typedef
ImageToImageMetricv4Type::VirtualPointType 
VirtualPointType
 
- Public Types inherited from itk::DomainThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
typedef TImageToImageMetricv4 AssociateType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ThreadedIndexedContainerPartitioner 
DomainPartitionerType
 
typedef
DomainPartitionerType::DomainType 
DomainType
 
typedef SmartPointer< SelfPointer
 
typedef DomainThreader Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
virtual bool GetComputeDerivative () const
 
- Public Member Functions inherited from itk::DomainThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
void Execute (AssociateType *enclosingClass, const DomainType &domain)
 
MultiThreader * GetMultiThreader () const
 
virtual ThreadIdType GetNumberOfThreadsUsed () const
 
virtual void SetDomainPartitioner (DomainPartitionerType *_arg)
 
virtual const
DomainPartitionerType
GetDomainPartitioner ()
 
ThreadIdType GetMaximumNumberOfThreads () const
 
void SetMaximumNumberOfThreads (const ThreadIdType threads)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

 ImageToImageMetricv4GetValueAndDerivativeThreader ()
 
virtual void ThreadedExecution (const DomainType &subdomain, const ThreadIdType threadId)
 
NumberOfParametersType GetCachedNumberOfParameters () const
 
NumberOfParametersType GetCachedNumberOfLocalParameters () const
 
- Protected Member Functions inherited from itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
virtual void AfterThreadedExecution ()
 
virtual void BeforeThreadedExecution ()
 
 ImageToImageMetricv4GetValueAndDerivativeThreaderBase ()
 
virtual bool ProcessPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const FixedImagePointType &mappedFixedPoint, const FixedImagePixelType &mappedFixedPixelValue, const FixedImageGradientType &mappedFixedImageGradient, const MovingImagePointType &mappedMovingPoint, const MovingImagePixelType &mappedMovingPixelValue, const MovingImageGradientType &mappedMovingImageGradient, MeasureType &metricValueReturn, DerivativeType &localDerivativeReturn, const ThreadIdType threadID) const =0
 
virtual bool ProcessVirtualPoint (const VirtualIndexType &virtualIndex, const VirtualPointType &virtualPoint, const ThreadIdType threadId)
 
virtual void StorePointDerivativeResult (const VirtualIndexType &virtualIndex, const ThreadIdType threadID)
 
- Protected Member Functions inherited from itk::DomainThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
virtual void DetermineNumberOfThreadsUsed ()
 
 DomainThreader ()
 
virtual void SetMultiThreader (MultiThreader *_arg)
 
virtual ~DomainThreader ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::DomainThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ImageToImageMetricv4GetValueAndDerivativeThreaderBase< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >
NumberOfParametersType m_CachedNumberOfLocalParameters
 
NumberOfParametersType m_CachedNumberOfParameters
 
std::vector
< CompensatedDerivativeType
m_CompensatedDerivativesPerThread
 
std::vector< DerivativeTypem_DerivativesPerThread
 
std::vector< DerivativeTypem_LocalDerivativesPerThread
 
std::vector
< InternalComputationValueType
m_MeasurePerThread
 
std::vector< JacobianTypem_MovingTransformJacobianPerThread
 
std::vector< SizeValueTypem_NumberOfValidPointsPerThread
 

Member Typedef Documentation

template<class TImageToImageMetricv4 >
typedef Superclass::AssociateType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::AssociateType
template<class TImageToImageMetricv4 >
typedef SmartPointer< const Self > itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::ConstPointer
template<class TImageToImageMetricv4 >
typedef Superclass::DerivativeType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::DerivativeType
template<class TImageToImageMetricv4 >
typedef Superclass::DerivativeValueType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::DerivativeValueType
template<class TImageToImageMetricv4 >
typedef Superclass::DomainType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::DomainType

Superclass types.

Definition at line 138 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<class TImageToImageMetricv4 >
typedef Superclass::FixedImageGradientType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::FixedImageGradientType
template<class TImageToImageMetricv4 >
typedef Superclass::FixedImagePixelType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::FixedImagePixelType
template<class TImageToImageMetricv4 >
typedef Superclass::FixedImagePointType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::FixedImagePointType
template<class TImageToImageMetricv4 >
typedef Superclass::FixedOutputPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::FixedOutputPointType
template<class TImageToImageMetricv4 >
typedef Superclass::FixedTransformType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::FixedTransformType
template<class TImageToImageMetricv4 >
typedef Superclass::ImageToImageMetricv4Type itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::ImageToImageMetricv4Type

Types of the target class.

Definition at line 145 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<class TImageToImageMetricv4 >
typedef Superclass::InternalComputationValueType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::InternalComputationValueType
template<class TImageToImageMetricv4 >
typedef Superclass::JacobianType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::JacobianType
template<class TImageToImageMetricv4 >
typedef Superclass::MeasureType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MeasureType
template<class TImageToImageMetricv4 >
typedef Superclass::MovingImageGradientType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MovingImageGradientType
template<class TImageToImageMetricv4 >
typedef Superclass::MovingImagePixelType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MovingImagePixelType
template<class TImageToImageMetricv4 >
typedef Superclass::MovingImagePointType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MovingImagePointType
template<class TImageToImageMetricv4 >
typedef Superclass::MovingOutputPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MovingOutputPointType
template<class TImageToImageMetricv4 >
typedef Superclass::MovingTransformType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::MovingTransformType
template<class TImageToImageMetricv4 >
typedef Superclass::NumberOfParametersType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::NumberOfParametersType
template<class TImageToImageMetricv4 >
typedef SmartPointer< Self > itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::Pointer

Standard class typedefs.

Definition at line 132 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<class TImageToImageMetricv4 >
typedef Superclass::VirtualImageType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::VirtualImageType
template<class TImageToImageMetricv4 >
typedef Superclass::VirtualIndexType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::VirtualIndexType
template<class TImageToImageMetricv4 >
typedef Superclass::VirtualPointType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::VirtualPointType

Constructor & Destructor Documentation

Constructor.

Definition at line 171 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

Member Function Documentation

template<class TImageToImageMetricv4 >
NumberOfParametersType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::GetCachedNumberOfLocalParameters ( ) const
inlineprotected

Get cached values for efficiency. Only valid once threading has started. These methods should be used in tight loops (inlining helps measurably). Put these methods here so derived threaders can access them directly.

Definition at line 185 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<class TImageToImageMetricv4 >
NumberOfParametersType itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::GetCachedNumberOfParameters ( ) const
inlineprotected

Get cached values for efficiency. Only valid once threading has started. These methods should be used in tight loops (inlining helps measurably). Put these methods here so derived threaders can access them directly.

Definition at line 181 of file itkImageToImageMetricv4GetValueAndDerivativeThreader.h.

template<class TImageToImageMetricv4 >
virtual const char* itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::GetNameOfClass ( ) const
virtual
template<class TImageToImageMetricv4 >
void itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::operator= ( const Self )
private
template<class TImageToImageMetricv4 >
virtual void itk::ImageToImageMetricv4GetValueAndDerivativeThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >::ThreadedExecution ( const DomainType subdomain,
const ThreadIdType  threadId 
)
protectedvirtual

Walk through the given virtual image domain, and call ProcessVirtualPoint on every point.

Implements itk::DomainThreader< ThreadedIndexedContainerPartitioner, TImageToImageMetricv4 >.


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