OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::StatisticsAccumulator< TRealVectorPixelType > Class Template Reference

#include <otbStreamingStatisticsMapFromLabelImageFilter.h>

+ Collaboration diagram for otb::StatisticsAccumulator< TRealVectorPixelType >:

Public Types

typedef uint64_t PixelCountType
 
typedef
itk::VariableLengthVector
< PixelCountType
PixelCountVectorType
 
typedef
TRealVectorPixelType::ValueType 
RealValueType
 

Public Member Functions

virtual PixelCountVectorType GetBandCount ()
 
virtual double GetCount ()
 
virtual TRealVectorPixelType GetMax ()
 
virtual TRealVectorPixelType GetMin ()
 
virtual TRealVectorPixelType GetSqSum ()
 
virtual TRealVectorPixelType GetSum ()
 
 StatisticsAccumulator ()
 
 StatisticsAccumulator (RealValueType noDataValue, bool useNoDataValue, const TRealVectorPixelType &pixel)
 
void Update (const TRealVectorPixelType &pixel)
 
void Update (const StatisticsAccumulator &other)
 

Protected Attributes

PixelCountVectorType m_BandCount
 
PixelCountType m_Count
 
TRealVectorPixelType m_Max
 
TRealVectorPixelType m_Min
 
RealValueType m_NoDataValue
 
TRealVectorPixelType m_SqSum
 
TRealVectorPixelType m_Sum
 
bool m_UseNoDataValue
 

Private Member Functions

void UpdateValues (PixelCountType otherCount, RealValueType otherSum, RealValueType otherSqSum, RealValueType otherMin, RealValueType otherMax, PixelCountType &count, RealValueType &sum, RealValueType &sqSum, RealValueType &min, RealValueType &max)
 

Detailed Description

template<class TRealVectorPixelType>
class otb::StatisticsAccumulator< TRealVectorPixelType >

Definition at line 53 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

Member Typedef Documentation

template<class TRealVectorPixelType >
typedef uint64_t otb::StatisticsAccumulator< TRealVectorPixelType >::PixelCountType
template<class TRealVectorPixelType >
typedef itk::VariableLengthVector<PixelCountType> otb::StatisticsAccumulator< TRealVectorPixelType >::PixelCountVectorType
template<class TRealVectorPixelType >
typedef TRealVectorPixelType::ValueType otb::StatisticsAccumulator< TRealVectorPixelType >::RealValueType

Constructor & Destructor Documentation

template<class TRealVectorPixelType >
otb::StatisticsAccumulator< TRealVectorPixelType >::StatisticsAccumulator ( )
inline
template<class TRealVectorPixelType >
otb::StatisticsAccumulator< TRealVectorPixelType >::StatisticsAccumulator ( RealValueType  noDataValue,
bool  useNoDataValue,
const TRealVectorPixelType &  pixel 
)
inline

Member Function Documentation

template<class TRealVectorPixelType >
virtual PixelCountVectorType otb::StatisticsAccumulator< TRealVectorPixelType >::GetBandCount ( )
virtual
template<class TRealVectorPixelType >
virtual double otb::StatisticsAccumulator< TRealVectorPixelType >::GetCount ( )
virtual
template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetMax ( )
virtual
template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetMin ( )
virtual
template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetSqSum ( )
virtual
template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetSum ( )
virtual
template<class TRealVectorPixelType >
void otb::StatisticsAccumulator< TRealVectorPixelType >::Update ( const TRealVectorPixelType &  pixel)
inline
template<class TRealVectorPixelType >
void otb::StatisticsAccumulator< TRealVectorPixelType >::Update ( const StatisticsAccumulator< TRealVectorPixelType > &  other)
inline
template<class TRealVectorPixelType >
void otb::StatisticsAccumulator< TRealVectorPixelType >::UpdateValues ( PixelCountType  otherCount,
RealValueType  otherSum,
RealValueType  otherSqSum,
RealValueType  otherMin,
RealValueType  otherMax,
PixelCountType count,
RealValueType sum,
RealValueType sqSum,
RealValueType min,
RealValueType max 
)
inlineprivate

Member Data Documentation

template<class TRealVectorPixelType >
PixelCountVectorType otb::StatisticsAccumulator< TRealVectorPixelType >::m_BandCount
protected
template<class TRealVectorPixelType >
PixelCountType otb::StatisticsAccumulator< TRealVectorPixelType >::m_Count
protected
template<class TRealVectorPixelType >
TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::m_Max
protected
template<class TRealVectorPixelType >
TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::m_Min
protected
template<class TRealVectorPixelType >
RealValueType otb::StatisticsAccumulator< TRealVectorPixelType >::m_NoDataValue
protected
template<class TRealVectorPixelType >
TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::m_SqSum
protected
template<class TRealVectorPixelType >
TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::m_Sum
protected
template<class TRealVectorPixelType >
bool otb::StatisticsAccumulator< TRealVectorPixelType >::m_UseNoDataValue
protected

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