filters::MedianFilter< T > Class Template Reference
A median filter which works on arrays.
More...
#include <median.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.
|
| MedianFilter () |
| 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.
|
| ~MedianFilter () |
| Destructor to clean up.
|
Protected Attributes |
boost::scoped_ptr
< RealtimeCircularBuffer< T > > | data_storage_ |
| Storage for data between updates.
|
uint32_t | number_of_observations_ |
| Number of observations over which to filter.
|
T | temp |
std::vector< T > | temp_storage_ |
| Preallocated storage for the list to sort.
|
Detailed Description
template<typename T>
class filters::MedianFilter< T >
A median filter which works on arrays.
Definition at line 97 of file median.h.
Constructor & Destructor Documentation
Construct the filter with the expected width and height.
Definition at line 127 of file median.h.
Destructor to clean up.
Definition at line 134 of file median.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 140 of file median.h.
Update the filter and return the data seperately.
- Parameters:
-
| data_in | double array with length width |
| data_out | double array with length width |
Implements filters::FilterBase< T >.
Definition at line 157 of file median.h.
Member Data Documentation
Storage for data between updates.
Definition at line 117 of file median.h.
Number of observations over which to filter.
Definition at line 122 of file median.h.
Preallocated storage for the list to sort.
Definition at line 116 of file median.h.
The documentation for this class was generated from the following file: