$search

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 134 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 167 of file mean.h.

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

Destructor to clean up.

Definition at line 189 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 173 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 195 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 153 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 154 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 158 of file mean.h.

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

Definition at line 156 of file mean.h.


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


filters
Author(s): Tully Foote/tfoote@willowgarage.com
autogenerated on Fri Mar 1 15:29:54 2013