ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkMeasurementVectorTraits.h>
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<typename TValue1 , unsigned int VLength, typename TValue2 , unsigned int VLength2> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const FixedArray< TValue2, VLength2 > &, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 , unsigned int VLength2> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const FixedArray< TValue2, VLength2 > *, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const Array< TValue1 > &a, const Array< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const Array< TValue1 > *a, const Array< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValue1 > &a, const VariableLengthVector< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValue1 > *a, const VariableLengthVector< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const std::vector< TValue1 > &a, const std::vector< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , typename TValue2 > | |
static MeasurementVectorLength | Assert (const std::vector< TValue1 > *a, const std::vector< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const Array< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const Array< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const VariableLengthVector< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const VariableLengthVector< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const std::vector< TValue2 > &b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength, typename TValue2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const std::vector< TValue2 > *b, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue1 , unsigned int VLength> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const Array< TValue > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const Array< TValue > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValue > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValue > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const std::vector< TValue > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TValue > | |
static MeasurementVectorLength | Assert (const std::vector< TValue > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<typename TArrayType > | |
static void | Assign (TArrayType &m, const TArrayType &v) |
template<typename TValue , unsigned int VLength> | |
static void | Assign (FixedArray< TValue, VLength > &m, const TValue &v) |
template<typename TVectorType > | |
static bool | IsResizable (const TVectorType &) |
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.
typedef unsigned int itk::Statistics::MeasurementVectorTraits::MeasurementVectorLength |
Definition at line 59 of file itkMeasurementVectorTraits.h.
typedef NumericTraits< AbsoluteFrequencyType >::RealType itk::Statistics::MeasurementVectorTraits::RelativeFrequencyType |
Definition at line 55 of file itkMeasurementVectorTraits.h.
typedef NumericTraits< AbsoluteFrequencyType >::AccumulateType itk::Statistics::MeasurementVectorTraits::TotalAbsoluteFrequencyType |
Definition at line 56 of file itkMeasurementVectorTraits.h.
typedef NumericTraits< RelativeFrequencyType >::AccumulateType itk::Statistics::MeasurementVectorTraits::TotalRelativeFrequencyType |
Definition at line 57 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 76 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 88 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 100 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 111 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 122 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 134 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 146 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 157 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 168 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 186 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 201 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 220 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 236 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 254 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 269 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 284 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 299 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 314 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 329 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 344 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 359 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 374 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 389 of file itkMeasurementVectorTraits.h.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::GetMeasurementVector().
|
inlinestatic |
Definition at line 395 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 62 of file itkMeasurementVectorTraits.h.
References itk::NumericTraits< T >::GetLength().
Referenced by itk::Statistics::MembershipFunctionBase< TMeasurementVector >::SetMeasurementVectorSize(), itk::Statistics::DistanceMetric< Array< double > >::SetMeasurementVectorSize(), and itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::SetMeasurementVectorSize().