Robot Simulator of the Robotics Group for Self-Organization of Control: AvgImgProc Struct Reference

# AvgImgProc Struct Reference

time average of image More...

`#include <imageprocessors.h>`

Inherits lpzrobots::StdImageProcessor.

Collaboration diagram for AvgImgProc:
[legend]

List of all members.

## Public Member Functions
| AvgImgProc (bool show, float scale, int time)
virtual | ~AvgImgProc ()
virtual void | initDestImage (Camera::CameraImage &dest, const Camera::CameraImage &src)
| overload this function and initialise the dest.img and the dest.name
virtual void | process (const osg::Image *src, osg::Image *dest)
| overload this function and do processing here
## Public Attributes
int | time
float | factor

## Detailed Description

time average of image

See also:
  StdImageProcessor.

## Constructor & Destructor Documentation

AvgImgProc | ( | bool | show,
|  | float | scale,
|  | int | time |
| ) |  |  | `[inline]`

Parameters:

  | time | length of averageing (time=1: no averaging)

virtual ~AvgImgProc | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void initDestImage | ( | Camera::CameraImage & | dest,
|  | const Camera::CameraImage & | src |
| ) |  |  | `[inline, virtual]`

overload this function and initialise the dest.img and the dest.name

Implements StdImageProcessor.

virtual void process | ( | const osg::Image * | src,
|  | osg::Image * | dest |
| ) |  |  | `[inline, virtual]`

overload this function and do processing here

Implements StdImageProcessor.

## Member Data Documentation

float factor

int time

The documentation for this struct was generated from the following file:

- imageprocessors.h