Implementation of the average filter for 1D data. More...
#include <MeanFilter.h>
Public Member Functions | |
CMeanFilter (int nKernelSize) | |
float | Filter (float x) |
void | Reset () |
void | SetKernelSize (int nKernelSize) |
~CMeanFilter () | |
Private Attributes | |
int | m_nElementsFilled |
int | m_nKernelSize |
int | m_nPosition |
float * | m_pValues |
Implementation of the average filter for 1D data.
Definition at line 62 of file MeanFilter.h.
CMeanFilter::CMeanFilter | ( | int | nKernelSize | ) |
Definition at line 58 of file MeanFilter.cpp.
Definition at line 68 of file MeanFilter.cpp.
float CMeanFilter::Filter | ( | float | x | ) | [virtual] |
Implements CFilterInterface.
Definition at line 106 of file MeanFilter.cpp.
Definition at line 97 of file MeanFilter.cpp.
void CMeanFilter::SetKernelSize | ( | int | nKernelSize | ) |
Definition at line 79 of file MeanFilter.cpp.
int CMeanFilter::m_nElementsFilled [private] |
Definition at line 83 of file MeanFilter.h.
int CMeanFilter::m_nKernelSize [private] |
Definition at line 82 of file MeanFilter.h.
int CMeanFilter::m_nPosition [private] |
Definition at line 81 of file MeanFilter.h.
float* CMeanFilter::m_pValues [private] |
Definition at line 80 of file MeanFilter.h.