#include <average_Filter.h>
Inheritance diagram for average_Filter:
This filter only averages contiguous frames, unlike add_Filter which allows the use of a stride parameter. The filter will buffer up nFrames worth of images and when enough frames have been buffer, the filter will begin altering the output of the pipeline to be the averaged frames.
Supports the following formats:
add example application code that shows how the processed images were output
Definition at line 69 of file average_Filter.h.
Public Member Functions | |
average_Filter (uint32_t nFrames=2) | |
~average_Filter () | |
int | set (uint32_t nFrames=2) |
int | flush () |
phFilter * | cloneFilter () |
Protected Member Functions | |
int | filter () |
Private Member Functions | |
int | check_buffers (uint32_t alloc=0) |
Private Attributes | |
uint32_t | m_nFrames |
uint32_t | m_total_stored |
uint32_t | m_first_frame_index |
uint32_t | m_current_frame_index |
uint32_t | m_frame_elems |
uint32_t | m_frame_size |
double * | m_last_result |
uint32_t | m_last_result_size |
double * | m_last_result_weight |
uint32_t | m_last_result_weight_size |
uint8_t * | m_temp |
uint32_t | m_temp_size |
uint8_t ** | m_imgptrs |
uint32_t | m_imgptrs_size |
uint8_t * | m_buffer |
uint32_t | m_buffer_size |
uint8_t * | m_outputBuffer |
uint32_t | m_outputBuffer_size |
uint32_t | m_buf_height |
uint32_t | m_buf_width |
uint32_t | m_buf_depth |
uint32_t | m_buf_format |
uint32_t | m_buf_nframes |
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |