Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

average_Filter Class Reference
[Image Processing FiltersTemporal]

#include <average_Filter.h>

Inheritance diagram for average_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

Temporal Image Averaging 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:

Todo:
merge with the other temporal filters

add example application code that shows how the processed images were output

Todo:
add example image inputs and processed image outputs

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 ()
phFiltercloneFilter ()

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_tm_temp
uint32_t m_temp_size
uint8_t ** m_imgptrs
uint32_t m_imgptrs_size
uint8_tm_buffer
uint32_t m_buffer_size
uint8_tm_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


The documentation for this class was generated from the following files:



Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:29 2007 for phission by  doxygen 1.4.4