Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::MeasurementVectorTraits Class Reference

#include <itkMeasurementVectorTraits.h>

List of all members.

Public Types

typedef InstanceIdentifier AbsoluteFrequencyType
typedef vcl_size_t InstanceIdentifier
typedef unsigned int MeasurementVectorLength
typedef NumericTraits
< AbsoluteFrequencyType >
::RealType 
RelativeFrequencyType
typedef NumericTraits
< AbsoluteFrequencyType >
::AccumulateType 
TotalAbsoluteFrequencyType
typedef NumericTraits
< RelativeFrequencyType >
::AccumulateType 
TotalRelativeFrequencyType

Static Public Member Functions

template<class TValueType >
static MeasurementVectorLength Assert (const std::vector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType >
static MeasurementVectorLength Assert (const std::vector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType >
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType >
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType >
static MeasurementVectorLength Assert (const Array< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType >
static MeasurementVectorLength Assert (const Array< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > *, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > &, const MeasurementVectorLength l, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > *, const std::vector< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > &, const std::vector< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > *, const VariableLengthVector< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > &, const VariableLengthVector< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > *, const Array< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > &, const Array< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const std::vector< TValueType1 > *a, const std::vector< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const std::vector< TValueType1 > &a, const std::vector< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType1 > *a, const VariableLengthVector< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const VariableLengthVector< TValueType1 > &a, const VariableLengthVector< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const Array< TValueType1 > *a, const Array< TValueType2 > *b, const char *errMsg="Length Mismatch")
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength Assert (const Array< TValueType1 > &a, const Array< TValueType2 > &b, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > *, const FixedArray< TValueType2, VLength2 > *, const char *errMsg="Length Mismatch")
template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2>
static MeasurementVectorLength Assert (const FixedArray< TValueType1, VLength > &, const FixedArray< TValueType2, VLength2 > &, const char *errMsg="Length Mismatch")
template<class TValueType , unsigned int VLength>
static void Assign (FixedArray< TValueType, VLength > &m, const TValueType &v)
template<class TArrayType >
static void Assign (TArrayType &m, const TArrayType &v)
template<class TValueType >
static MeasurementVectorLength GetLength (const std::vector< TValueType > *m)
template<class TValueType >
static MeasurementVectorLength GetLength (const std::vector< TValueType > &m)
template<class TValueType >
static MeasurementVectorLength GetLength (const VariableLengthVector< TValueType > *m)
template<class TValueType >
static MeasurementVectorLength GetLength (const VariableLengthVector< TValueType > &m)
template<class TValueType >
static MeasurementVectorLength GetLength (const Array< TValueType > *m)
template<class TValueType >
static MeasurementVectorLength GetLength (const Array< TValueType > &m)
template<class TValueType , unsigned int VLength>
static MeasurementVectorLength GetLength (const FixedArray< TValueType, VLength > *)
template<class TValueType , unsigned int VLength>
static MeasurementVectorLength GetLength (const FixedArray< TValueType, VLength > &)
template<class TVectorType >
static bool IsResizable (const TVectorType &)
template<class TValueType >
static void SetLength (std::vector< TValueType > *m, const unsigned int s)
template<class TValueType >
static void SetLength (std::vector< TValueType > &m, const unsigned int s)
template<class TValueType >
static void SetLength (VariableLengthVector< TValueType > *m, const unsigned int s)
template<class TValueType >
static void SetLength (VariableLengthVector< TValueType > &m, const unsigned int s)
template<class TValueType >
static void SetLength (Array< TValueType > *m, const unsigned int s)
template<class TValueType >
static void SetLength (Array< TValueType > &m, const unsigned int s)
template<class TValueType , unsigned int VLength>
static void SetLength (FixedArray< TValueType, VLength > *m, const unsigned int s)
template<class TValueType , unsigned int VLength>
static void SetLength (FixedArray< TValueType, VLength > &m, const unsigned int s)


Detailed Description

Definition at line 87 of file Review/Statistics/itkMeasurementVectorTraits.h.


Member Typedef Documentation

Type defined for representing the frequency of measurement vectors

Definition at line 100 of file Review/Statistics/itkMeasurementVectorTraits.h.

In the old framework, the FrequencyType is set to float. The problem is for large histograms the total frequency can be more than 1e+7, than increasing the frequency by one does not change the total frequency (because of lack of precision). Using double type will also ultimately fall into the same problem. Hence in the new statistics framework, InstanceIdentifier/FrequencyTypes are set to the the largest possible integer on the machine

Definition at line 97 of file Review/Statistics/itkMeasurementVectorTraits.h.


Member Function Documentation

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const std::vector< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const std::vector< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const Array< TValueType > *  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const Array< TValueType > &  a,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > *  ,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > &  ,
const MeasurementVectorLength  l,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > *  ,
const std::vector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > &  ,
const std::vector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > *  ,
const VariableLengthVector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > &  ,
const VariableLengthVector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > *  ,
const Array< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > &  ,
const Array< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const std::vector< TValueType1 > *  a,
const std::vector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const std::vector< TValueType1 > &  a,
const std::vector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType1 > *  a,
const VariableLengthVector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType1 > &  a,
const VariableLengthVector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const Array< TValueType1 > *  a,
const Array< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const Array< TValueType1 > &  a,
const Array< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > *  ,
const FixedArray< TValueType2, VLength2 > *  ,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const FixedArray< TValueType1, VLength > &  ,
const FixedArray< TValueType2, VLength2 > &  ,
const char *  errMsg = "Length Mismatch" 
) [inline, static]

template<class TValueType , unsigned int VLength>
static void itk::Statistics::MeasurementVectorTraits::Assign ( FixedArray< TValueType, VLength > &  m,
const TValueType &  v 
) [inline, static]

template<class TArrayType >
static void itk::Statistics::MeasurementVectorTraits::Assign ( TArrayType &  m,
const TArrayType &  v 
) [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const std::vector< TValueType > *  m  )  [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const std::vector< TValueType > &  m  )  [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const VariableLengthVector< TValueType > *  m  )  [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const VariableLengthVector< TValueType > &  m  )  [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const Array< TValueType > *  m  )  [inline, static]

template<class TValueType >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const Array< TValueType > &  m  )  [inline, static]

template<class TValueType , unsigned int VLength>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const FixedArray< TValueType, VLength > *   )  [inline, static]

template<class TValueType , unsigned int VLength>
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength ( const FixedArray< TValueType, VLength > &   )  [inline, static]

template<class TVectorType >
static bool itk::Statistics::MeasurementVectorTraits::IsResizable ( const TVectorType &   )  [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( std::vector< TValueType > *  m,
const unsigned int  s 
) [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( std::vector< TValueType > &  m,
const unsigned int  s 
) [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( VariableLengthVector< TValueType > *  m,
const unsigned int  s 
) [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( VariableLengthVector< TValueType > &  m,
const unsigned int  s 
) [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( Array< TValueType > *  m,
const unsigned int  s 
) [inline, static]

template<class TValueType >
static void itk::Statistics::MeasurementVectorTraits::SetLength ( Array< TValueType > &  m,
const unsigned int  s 
) [inline, static]

template<class TValueType , unsigned int VLength>
static void itk::Statistics::MeasurementVectorTraits::SetLength ( FixedArray< TValueType, VLength > *  m,
const unsigned int  s 
) [inline, static]

template<class TValueType , unsigned int VLength>
static void itk::Statistics::MeasurementVectorTraits::SetLength ( FixedArray< TValueType, VLength > &  m,
const unsigned int  s 
) [inline, static]


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

Generated at Tue Sep 15 15:39:59 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000