Public Types | Public Member Functions | Public Attributes | Private Types | Private Attributes

cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData Class Reference

Local class for data needed to compute similarity metric. More...

#include <cmtkMultiChannelHistogramRegistrationFunctional.h>

Collaboration diagram for cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData:
Collaboration graph
[legend]

List of all members.

Public Types

typedef MetricData Self
 This class type.
typedef HashMapSTL
< HashKeyType, int > 
HashTableType
 Hash table type.

Public Member Functions

void Init (Parent *const parent)
 Initialize metric object and local storage.
Selfoperator= (const Self &source)
 Assignment operator.
Selfoperator+= (const Self &other)
 In-place addition operator.
Selfoperator-= (const Self &other)
 In-place subtraction operator.
void operator+= (const Types::DataItem *values)
 In-place single sample addition operator.
void operator-= (const Types::DataItem *values)
 In-place single sample subtraction operator.

Public Attributes

HashTableType m_JointHash
 Joint haash table for reference and floating channels.
HashTableType m_ReferenceHash
 Hash table for reference channels.
HashTableType m_FloatingHash
 Hash table for floating channels.
size_t m_TotalNumberOfSamples
 Total number of samples (pixels) under current transformation.

Private Types

typedef
MultiChannelHistogramRegistrationFunctional
< TDataType, TInterpolator,
THashKeyType, NBitsPerChannel > 
Parent
 Typedef of parent class.

Private Attributes

Parentm_Parent
 Parent object.

Detailed Description

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
class cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData

Local class for data needed to compute similarity metric.

Definition at line 94 of file cmtkMultiChannelHistogramRegistrationFunctional.h.


Member Typedef Documentation

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
typedef HashMapSTL<HashKeyType, int> cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::HashTableType

Hash table type.

Definition at line 111 of file cmtkMultiChannelHistogramRegistrationFunctional.h.

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
typedef MultiChannelHistogramRegistrationFunctional<TDataType,TInterpolator,THashKeyType,NBitsPerChannel> cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::Parent [private]

Typedef of parent class.

Definition at line 98 of file cmtkMultiChannelHistogramRegistrationFunctional.h.

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
typedef MetricData cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::Self

This class type.

Definition at line 105 of file cmtkMultiChannelHistogramRegistrationFunctional.h.


Member Function Documentation

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
Self& cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::operator+= ( const Self other )

In-place addition operator.

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
Self& cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::operator-= ( const Self other )

In-place subtraction operator.

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
Self& cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::operator= ( const Self source )

Assignment operator.


Member Data Documentation

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
HashTableType cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::m_FloatingHash
template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
HashTableType cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::m_JointHash
template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
Parent* cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::m_Parent [private]

Parent object.

Definition at line 101 of file cmtkMultiChannelHistogramRegistrationFunctional.h.

template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
HashTableType cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::m_ReferenceHash
template<class TDataType = float, class TInterpolator = cmtk::UniformVolumeInterpolator<cmtk::Interpolators::Linear>, class THashKeyType = unsigned int, char NBitsPerChannel = 6>
size_t cmtk::MultiChannelHistogramRegistrationFunctional< TDataType, TInterpolator, THashKeyType, NBitsPerChannel >::MetricData::m_TotalNumberOfSamples

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines