OTB  9.0.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>

Public Types

typedef uint64_t PixelCountType
 
typedef itk::VariableLengthVector< PixelCountTypePixelCountVectorType
 
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 StatisticsAccumulator &other)
 
void Update (const TRealVectorPixelType &pixel)
 

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

◆ PixelCountType

template<class TRealVectorPixelType >
typedef uint64_t otb::StatisticsAccumulator< TRealVectorPixelType >::PixelCountType

◆ PixelCountVectorType

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

◆ RealValueType

template<class TRealVectorPixelType >
typedef TRealVectorPixelType::ValueType otb::StatisticsAccumulator< TRealVectorPixelType >::RealValueType

Constructor & Destructor Documentation

◆ StatisticsAccumulator() [1/2]

template<class TRealVectorPixelType >
otb::StatisticsAccumulator< TRealVectorPixelType >::StatisticsAccumulator ( )
inline

◆ StatisticsAccumulator() [2/2]

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

Member Function Documentation

◆ GetBandCount()

template<class TRealVectorPixelType >
virtual PixelCountVectorType otb::StatisticsAccumulator< TRealVectorPixelType >::GetBandCount ( )
virtual

◆ GetCount()

template<class TRealVectorPixelType >
virtual double otb::StatisticsAccumulator< TRealVectorPixelType >::GetCount ( )
virtual

◆ GetMax()

template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetMax ( )
virtual

◆ GetMin()

template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetMin ( )
virtual

◆ GetSqSum()

template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetSqSum ( )
virtual

◆ GetSum()

template<class TRealVectorPixelType >
virtual TRealVectorPixelType otb::StatisticsAccumulator< TRealVectorPixelType >::GetSum ( )
virtual

◆ Update() [1/2]

template<class TRealVectorPixelType >
void otb::StatisticsAccumulator< TRealVectorPixelType >::Update ( const StatisticsAccumulator< TRealVectorPixelType > &  other)
inline

◆ Update() [2/2]

template<class TRealVectorPixelType >
void otb::StatisticsAccumulator< TRealVectorPixelType >::Update ( const TRealVectorPixelType &  pixel)
inline

◆ UpdateValues()

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

◆ m_BandCount

template<class TRealVectorPixelType >
PixelCountVectorType otb::StatisticsAccumulator< TRealVectorPixelType >::m_BandCount
protected

◆ m_Count

template<class TRealVectorPixelType >
PixelCountType otb::StatisticsAccumulator< TRealVectorPixelType >::m_Count
protected

◆ m_Max

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

◆ m_Min

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

◆ m_NoDataValue

template<class TRealVectorPixelType >
RealValueType otb::StatisticsAccumulator< TRealVectorPixelType >::m_NoDataValue
protected

◆ m_SqSum

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

◆ m_Sum

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

◆ m_UseNoDataValue

template<class TRealVectorPixelType >
bool otb::StatisticsAccumulator< TRealVectorPixelType >::m_UseNoDataValue
protected

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