MedianStacker< ValueType > Class Template Reference

Inheritance diagram for MedianStacker< ValueType >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void reset ()
void operator() (const ValueType &val)
void getResult (ValueType &val)
bool IsValid ()
void getResultAndSigma (ValueType &val, typename vigra::NumericTraits< ValueType >::RealPromote &sigma)
const std::string getName () const

Protected Member Functions

void sort (vigra::VigraTrueType)
void sort (vigra::VigraFalseType)
void sort ()

Protected Attributes

std::vector< ValueType > m_values

Detailed Description

template<class ValueType>
class MedianStacker< ValueType >

Definition at line 448 of file stacker.cpp.


Member Function Documentation

template<class ValueType>
const std::string MedianStacker< ValueType >::getName (  )  const [inline]

Reimplemented in WinsorMeanStacker< ValueType >.

Definition at line 482 of file stacker.cpp.

template<class ValueType>
void MedianStacker< ValueType >::getResult ( ValueType &  val  )  [inline]

Reimplemented in WinsorMeanStacker< ValueType >.

Definition at line 453 of file stacker.cpp.

References MedianStacker< ValueType >::m_values, and MedianStacker< ValueType >::sort().

template<class ValueType>
void MedianStacker< ValueType >::getResultAndSigma ( ValueType &  val,
typename vigra::NumericTraits< ValueType >::RealPromote &  sigma 
) [inline]

Reimplemented in WinsorMeanStacker< ValueType >.

Definition at line 467 of file stacker.cpp.

References getMeanSigma(), MedianStacker< ValueType >::m_values, and MedianStacker< ValueType >::sort().

template<class ValueType>
bool MedianStacker< ValueType >::IsValid (  )  [inline]

Definition at line 466 of file stacker.cpp.

References MedianStacker< ValueType >::m_values.

template<class ValueType>
void MedianStacker< ValueType >::operator() ( const ValueType &  val  )  [inline]

Definition at line 452 of file stacker.cpp.

References MedianStacker< ValueType >::m_values.

template<class ValueType>
void MedianStacker< ValueType >::reset (  )  [inline]

Definition at line 451 of file stacker.cpp.

References MedianStacker< ValueType >::m_values.

template<class ValueType>
void MedianStacker< ValueType >::sort (  )  [inline, protected]

Definition at line 496 of file stacker.cpp.

Referenced by WinsorMeanStacker< ValueType >::getResult(), MedianStacker< ValueType >::getResult(), WinsorMeanStacker< ValueType >::getResultAndSigma(), and MedianStacker< ValueType >::getResultAndSigma().

template<class ValueType>
void MedianStacker< ValueType >::sort ( vigra::VigraFalseType   )  [inline, protected]

Definition at line 490 of file stacker.cpp.

References MedianStacker< ValueType >::m_values.

template<class ValueType>
void MedianStacker< ValueType >::sort ( vigra::VigraTrueType   )  [inline, protected]

Definition at line 485 of file stacker.cpp.

References MedianStacker< ValueType >::m_values.


Member Data Documentation

template<class ValueType>
std::vector<ValueType> MedianStacker< ValueType >::m_values [protected]

Definition at line 500 of file stacker.cpp.

Referenced by WinsorMeanStacker< ValueType >::getResult(), MedianStacker< ValueType >::getResult(), WinsorMeanStacker< ValueType >::getResultAndSigma(), MedianStacker< ValueType >::getResultAndSigma(), MedianStacker< ValueType >::IsValid(), MedianStacker< ValueType >::operator()(), MedianStacker< ValueType >::reset(), and MedianStacker< ValueType >::sort().


The documentation for this class was generated from the following file:
Generated on 20 Jan 2018 for Hugintrunk by  doxygen 1.4.7