filters::MeanFilter< T > Class Template Reference
A mean filter which works on doubles.
More...
#include <mean.h>
List of all members.
Public Member Functions |
virtual bool | configure () |
| Pure virtual function for the sub class to configure the filter This function must be implemented in the derived class.
|
| MeanFilter () |
| Construct the filter with the expected width and height.
|
virtual bool | update (const T &data_in, T &data_out) |
| Update the filter and return the data seperately.
|
| ~MeanFilter () |
| Destructor to clean up.
|
Protected Attributes |
boost::scoped_ptr
< RealtimeCircularBuffer< T > > | data_storage_ |
| Storage for data between updates.
|
uint32_t | last_updated_row_ |
| The last row to have been updated by the filter.
|
uint32_t | number_of_observations_ |
| Temporary storage.
|
T | temp_ |
Detailed Description
template<typename T>
class filters::MeanFilter< T >
A mean filter which works on doubles.
Definition at line 49 of file mean.h.
Constructor & Destructor Documentation
Construct the filter with the expected width and height.
Definition at line 77 of file mean.h.
Destructor to clean up.
Definition at line 98 of file mean.h.
Member Function Documentation
Pure virtual function for the sub class to configure the filter This function must be implemented in the derived class.
Implements filters::FilterBase< T >.
Definition at line 83 of file mean.h.
Update the filter and return the data seperately.
- Parameters:
-
| data_in | T array with length width |
| data_out | T array with length width |
Implements filters::FilterBase< T >.
Definition at line 104 of file mean.h.
Member Data Documentation
Storage for data between updates.
Definition at line 61 of file mean.h.
The last row to have been updated by the filter.
Definition at line 62 of file mean.h.
Temporary storage.
Number of observations over which to filter
Definition at line 64 of file mean.h.
The documentation for this class was generated from the following file: