ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | List of all members
itk::Statistics::MeasurementVectorTraits Class Reference

#include <itkMeasurementVectorTraits.h>

Detailed Description

Definition at line 41 of file itkMeasurementVectorTraits.h.

Public Types

typedef InstanceIdentifier AbsoluteFrequencyType
 
typedef IdentifierType 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 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 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 , 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 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 , 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 , 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 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>
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 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 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 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 TArrayType >
static void Assign (TArrayType &m, const TArrayType &v)
 
template<class TValueType , unsigned int VLength>
static void Assign (FixedArray< TValueType, VLength > &m, const TValueType &v)
 
template<class TVectorType >
static bool IsResizable (const TVectorType &)
 

Member Typedef Documentation

Type defined for representing the frequency of measurement vectors

Definition at line 54 of file 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 51 of file itkMeasurementVectorTraits.h.

Definition at line 59 of file itkMeasurementVectorTraits.h.

Definition at line 55 of file itkMeasurementVectorTraits.h.

Definition at line 56 of file itkMeasurementVectorTraits.h.

Definition at line 57 of file itkMeasurementVectorTraits.h.

Member Function Documentation

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" 
)
inlinestatic

Definition at line 76 of file itkMeasurementVectorTraits.h.

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" 
)
inlinestatic

Definition at line 88 of file itkMeasurementVectorTraits.h.

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

Definition at line 100 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

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

Definition at line 111 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType1 > &  a,
const VariableLengthVector< TValueType2 > &  b,
const char *  errMsg = "Length Mismatch" 
)
inlinestatic
template<class TValueType1 , class TValueType2 >
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert ( const VariableLengthVector< TValueType1 > *  a,
const VariableLengthVector< TValueType2 > *  b,
const char *  errMsg = "Length Mismatch" 
)
inlinestatic
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" 
)
inlinestatic

Definition at line 146 of file itkMeasurementVectorTraits.h.

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" 
)
inlinestatic

Definition at line 157 of file itkMeasurementVectorTraits.h.

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" 
)
inlinestatic

Definition at line 168 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

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" 
)
inlinestatic

Definition at line 186 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

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" 
)
inlinestatic
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" 
)
inlinestatic
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" 
)
inlinestatic

Definition at line 236 of file itkMeasurementVectorTraits.h.

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" 
)
inlinestatic

Definition at line 254 of file itkMeasurementVectorTraits.h.

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

Definition at line 269 of file itkMeasurementVectorTraits.h.

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

Definition at line 284 of file itkMeasurementVectorTraits.h.

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

Definition at line 299 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

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

Definition at line 314 of file itkMeasurementVectorTraits.h.

References itk::Array< TValueType >::Size().

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

Definition at line 359 of file itkMeasurementVectorTraits.h.

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

Definition at line 374 of file itkMeasurementVectorTraits.h.

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

Definition at line 395 of file itkMeasurementVectorTraits.h.

template<class TVectorType >
static bool itk::Statistics::MeasurementVectorTraits::IsResizable ( const TVectorType &  )
inlinestatic

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