OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Public Attributes | List of all members
otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer Class Reference

#include <otbStreamingStatisticsMosaicFilter.h>

Public Member Functions

void Clear (unsigned int nbOfBands, unsigned int nbOfSamples)
 
 ThreadResultsContainer ()
 
 ThreadResultsContainer (const ThreadResultsContainer &other)
 
 ThreadResultsContainer (unsigned int nbOfBands, unsigned int nbOfSamples)
 
void Update (const InputImagePixelType &pixel, unsigned int sampleId)
 
void Update (const InputImagePixelType &pixel_i, const InputImagePixelType &pixel_j, unsigned int sampleId)
 
void Update (const ThreadResultsContainer &other)
 

Public Attributes

RealMatrixType m_cosum
 
RealVectorType m_count
 
RealMatrixType m_max
 
RealMatrixType m_min
 
RealMatrixType m_sqSum
 
RealMatrixType m_sum
 

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage, class TInternalValueType = double>
class otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer

Class for storing thread results: -sum of values -sum of squared values -min value -max value -count

Definition at line 176 of file otbStreamingStatisticsMosaicFilter.h.

Constructor & Destructor Documentation

◆ ThreadResultsContainer() [1/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::ThreadResultsContainer ( )
inline

Default constructor

Definition at line 181 of file otbStreamingStatisticsMosaicFilter.h.

◆ ThreadResultsContainer() [2/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::ThreadResultsContainer ( unsigned int  nbOfBands,
unsigned int  nbOfSamples 
)
inline

Definition at line 186 of file otbStreamingStatisticsMosaicFilter.h.

◆ ThreadResultsContainer() [3/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::ThreadResultsContainer ( const ThreadResultsContainer other)
inline

Member Function Documentation

◆ Clear()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
void otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::Clear ( unsigned int  nbOfBands,
unsigned int  nbOfSamples 
)
inline

Definition at line 203 of file otbStreamingStatisticsMosaicFilter.h.

◆ Update() [1/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
void otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::Update ( const InputImagePixelType pixel,
unsigned int  sampleId 
)
inline

◆ Update() [2/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
void otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::Update ( const InputImagePixelType pixel_i,
const InputImagePixelType pixel_j,
unsigned int  sampleId 
)
inline

Definition at line 241 of file otbStreamingStatisticsMosaicFilter.h.

◆ Update() [3/3]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
void otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::Update ( const ThreadResultsContainer other)
inline

Member Data Documentation

◆ m_cosum

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealMatrixType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_cosum

◆ m_count

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealVectorType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_count

◆ m_max

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealMatrixType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_max

◆ m_min

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealMatrixType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_min

◆ m_sqSum

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealMatrixType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_sqSum

◆ m_sum

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
RealMatrixType otb::PersistentStatisticsMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadResultsContainer::m_sum

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