time average of image More...
#include <imageprocessors.h>
Inherits lpzrobots::StdImageProcessor.

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 |
time average of image
| AvgImgProc | ( | bool | show, | |
| float | scale, | |||
| int | time | |||
| ) | [inline] |
| time | length of averageing (time=1: no averaging) |
| virtual ~AvgImgProc | ( | ) | [inline, virtual] |
| 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.
| float factor |
| int time |
1.6.3