![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkMeasurementVectorTraits.h>
Definition at line 41 of file itkMeasurementVectorTraits.h.
Public Types | |
using | AbsoluteFrequencyType = InstanceIdentifier |
using | InstanceIdentifier = IdentifierType |
using | MeasurementVectorLength = vcl_size_t |
using | RelativeFrequencyType = NumericTraits< AbsoluteFrequencyType >::RealType |
using | TotalAbsoluteFrequencyType = NumericTraits< AbsoluteFrequencyType >::AccumulateType |
using | TotalRelativeFrequencyType = NumericTraits< RelativeFrequencyType >::AccumulateType |
Static Public Member Functions | |
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 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 , 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 , 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> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > &, const MeasurementVectorLength l, 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 VariableLengthVector< 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 , 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> | |
static MeasurementVectorLength | Assert (const FixedArray< TValue1, VLength > *, const MeasurementVectorLength l, 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 VariableLengthVector< TValue2 > *b, 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 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 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 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 TValue , unsigned int VLength> | |
static void | Assign (FixedArray< TValue, VLength > &m, const TValue &v) |
template<typename TArrayType > | |
static void | Assign (TArrayType &m, const TArrayType &v) |
template<typename TVectorType > | |
static bool | IsResizable (const TVectorType &) |
Type defined for representing the frequency of measurement vectors
Definition at line 53 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 50 of file itkMeasurementVectorTraits.h.
using itk::Statistics::MeasurementVectorTraits::MeasurementVectorLength = vcl_size_t |
Definition at line 58 of file itkMeasurementVectorTraits.h.
using itk::Statistics::MeasurementVectorTraits::RelativeFrequencyType = NumericTraits<AbsoluteFrequencyType>::RealType |
Definition at line 54 of file itkMeasurementVectorTraits.h.
using itk::Statistics::MeasurementVectorTraits::TotalAbsoluteFrequencyType = NumericTraits<AbsoluteFrequencyType>::AccumulateType |
Definition at line 55 of file itkMeasurementVectorTraits.h.
using itk::Statistics::MeasurementVectorTraits::TotalRelativeFrequencyType = NumericTraits<RelativeFrequencyType>::AccumulateType |
Definition at line 56 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 305 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 320 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 102 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 113 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 172 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 76 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 275 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 242 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 205 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 190 of file itkMeasurementVectorTraits.h.
References itk::Array< TValue >::Size().
|
inlinestatic |
Definition at line 89 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 290 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 260 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 225 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 369 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 384 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 150 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 161 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 335 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 352 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 124 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 137 of file itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValue >::Size().
|
inlinestatic |
Definition at line 406 of file itkMeasurementVectorTraits.h.
|
inlinestatic |
Definition at line 399 of file itkMeasurementVectorTraits.h.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::GetMeasurementVector().
|
inlinestatic |
Definition at line 62 of file itkMeasurementVectorTraits.h.
References itk::NumericTraits< T >::GetLength().