qm-dsp
1.8
|
#include <MedianFilter.h>
Public Member Functions | |
MedianFilter (int size, float percentile=50.f) | |
~MedianFilter () | |
void | setPercentile (float p) |
void | push (T value) |
T | get () const |
int | getSize () const |
T | getAt (float percentile) |
void | reset () |
Static Public Member Functions | |
static std::vector< T > | filter (int size, const std::vector< T > &in) |
Private Member Functions | |
void | put (T value) |
void | drop (T value) |
MedianFilter (const MedianFilter &) | |
MedianFilter & | operator= (const MedianFilter &) |
Private Attributes | |
const int | m_size |
T *const | m_frame |
T *const | m_sorted |
T *const | m_sortend |
int | m_index |
Detailed Description
template<typename T>
class MedianFilter< T >
Definition at line 25 of file MedianFilter.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 28 of file MedianFilter.h.
References MedianFilter< T >::reset(), and MedianFilter< T >::setPercentile().
Referenced by MedianFilter< T >::drop().
|
inline |
Definition at line 37 of file MedianFilter.h.
References MedianFilter< T >::m_frame, and MedianFilter< T >::m_sorted.
|
private |
Member Function Documentation
|
inline |
Definition at line 42 of file MedianFilter.h.
References MedianFilter< T >::m_index, and MedianFilter< T >::m_size.
Referenced by MedianFilter< T >::MedianFilter().
|
inline |
Definition at line 48 of file MedianFilter.h.
References MedianFilter< T >::drop(), MedianFilter< T >::m_frame, MedianFilter< T >::m_size, and MedianFilter< T >::put().
Referenced by MedianFilter< T >::filter().
|
inline |
Definition at line 61 of file MedianFilter.h.
References MedianFilter< T >::m_index, and MedianFilter< T >::m_sorted.
Referenced by MedianFilter< T >::filter().
|
inline |
Definition at line 65 of file MedianFilter.h.
References MedianFilter< T >::m_size.
|
inline |
Definition at line 69 of file MedianFilter.h.
References MedianFilter< T >::m_size, and MedianFilter< T >::m_sorted.
|
inline |
Definition at line 76 of file MedianFilter.h.
References MedianFilter< T >::m_frame, MedianFilter< T >::m_size, and MedianFilter< T >::m_sorted.
Referenced by MedianFilter< T >::MedianFilter().
|
inlinestatic |
Definition at line 81 of file MedianFilter.h.
References MedianFilter< T >::get(), and MedianFilter< T >::push().
|
inlineprivate |
Definition at line 103 of file MedianFilter.h.
Referenced by MedianFilter< T >::push().
|
inlineprivate |
Definition at line 112 of file MedianFilter.h.
References MedianFilter< T >::MedianFilter(), and MedianFilter< T >::operator=().
Referenced by MedianFilter< T >::push().
|
private |
Referenced by MedianFilter< T >::drop().
Member Data Documentation
|
private |
Definition at line 97 of file MedianFilter.h.
Referenced by MedianFilter< T >::getAt(), MedianFilter< T >::getSize(), MedianFilter< T >::push(), MedianFilter< T >::reset(), and MedianFilter< T >::setPercentile().
|
private |
Definition at line 98 of file MedianFilter.h.
Referenced by MedianFilter< T >::push(), MedianFilter< T >::reset(), and MedianFilter< T >::~MedianFilter().
|
private |
Definition at line 99 of file MedianFilter.h.
Referenced by MedianFilter< T >::get(), MedianFilter< T >::getAt(), MedianFilter< T >::reset(), and MedianFilter< T >::~MedianFilter().
|
private |
Definition at line 100 of file MedianFilter.h.
|
private |
Definition at line 101 of file MedianFilter.h.
Referenced by MedianFilter< T >::get(), and MedianFilter< T >::setPercentile().
The documentation for this class was generated from the following file:
Generated by 1.8.11