MedianFilter< T > Class Template Reference

#include <MedianFilter.h>

Public Member Functions

 MedianFilter (int size, float percentile=50.f)
 
 ~MedianFilter ()
 
void setPercentile (float p)
 
void push (T value)
 
get () const
 
int getSize () const
 
getAt (float percentile)
 
void reset ()
 

Static Public Member Functions

static std::vector< T > filter (int size, const std::vector< T > &in)
 

Constructor & Destructor Documentation

template<typename T>
MedianFilter< T >::MedianFilter ( int  size,
float  percentile = 50.f 
)
inline
template<typename T>
MedianFilter< T >::~MedianFilter ( )
inline

Member Function Documentation

template<typename T>
static std::vector<T> MedianFilter< T >::filter ( int  size,
const std::vector< T > &  in 
)
inlinestatic
template<typename T>
T MedianFilter< T >::get ( ) const
inline
template<typename T>
T MedianFilter< T >::getAt ( float  percentile)
inline
template<typename T>
int MedianFilter< T >::getSize ( ) const
inline
template<typename T>
void MedianFilter< T >::push ( value)
inline
template<typename T>
void MedianFilter< T >::reset ( )
inline
template<typename T>
void MedianFilter< T >::setPercentile ( float  p)
inline

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