filters::MultiChannelMeanFilter< T > Class Template Reference

A mean filter which works on double arrays. More...

#include <mean.h>

Inheritance diagram for filters::MultiChannelMeanFilter< T >:
Inheritance graph
[legend]

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.
 MultiChannelMeanFilter ()
 Construct the filter with the expected width and height.
virtual bool update (const std::vector< T > &data_in, std::vector< T > &data_out)
 Update the filter and return the data seperately.
 ~MultiChannelMeanFilter ()
 Destructor to clean up.

Protected Attributes

boost::scoped_ptr
< RealtimeCircularBuffer
< std::vector< 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_
 Number of observations over which to filter.
std::vector< T > temp

Detailed Description

template<typename T>
class filters::MultiChannelMeanFilter< T >

A mean filter which works on double arrays.

Definition at line 132 of file mean.h.


Constructor & Destructor Documentation

template<typename T >
filters::MultiChannelMeanFilter< T >::MultiChannelMeanFilter (  )  [inline]

Construct the filter with the expected width and height.

Definition at line 165 of file mean.h.

template<typename T >
filters::MultiChannelMeanFilter< T >::~MultiChannelMeanFilter (  )  [inline]

Destructor to clean up.

Definition at line 187 of file mean.h.


Member Function Documentation

template<typename T >
bool filters::MultiChannelMeanFilter< T >::configure (  )  [inline, virtual]

Pure virtual function for the sub class to configure the filter This function must be implemented in the derived class.

Implements filters::MultiChannelFilterBase< T >.

Definition at line 171 of file mean.h.

template<typename T >
bool filters::MultiChannelMeanFilter< T >::update ( const std::vector< T > &  data_in,
std::vector< T > &  data_out 
) [inline, virtual]

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::MultiChannelFilterBase< T >.

Definition at line 193 of file mean.h.


Member Data Documentation

template<typename T>
boost::scoped_ptr<RealtimeCircularBuffer<std::vector<T> > > filters::MultiChannelMeanFilter< T >::data_storage_ [protected]

Storage for data between updates.

Definition at line 151 of file mean.h.

template<typename T>
uint32_t filters::MultiChannelMeanFilter< T >::last_updated_row_ [protected]

The last row to have been updated by the filter.

Definition at line 152 of file mean.h.

template<typename T>
uint32_t filters::MultiChannelMeanFilter< T >::number_of_observations_ [protected]

Number of observations over which to filter.

Definition at line 156 of file mean.h.

template<typename T>
std::vector<T> filters::MultiChannelMeanFilter< T >::temp [protected]

Definition at line 154 of file mean.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


filters
Author(s): Tully Foote/tfoote@willowgarage.com
autogenerated on Fri Jan 11 09:33:18 2013