Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AvgImgProc Struct Reference

time average of image More...

#include <imageprocessors.h>

Inheritance diagram for AvgImgProc:
Collaboration diagram for AvgImgProc:

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 More...
 
virtual void process (const osg::Image *src, osg::Image *dest)
 overload this function and do processing here More...
 
- Public Member Functions inherited from StdImageProcessor
 StdImageProcessor (bool show, float scale)
 
virtual ~StdImageProcessor ()
 
virtual Camera::CameraImage init (const Camera::CameraImages &imgs)
 initialization with all images so far. More...
 
virtual void process ()
 perform the image calculation here More...
 
- Public Member Functions inherited from ImageProcessor
 ImageProcessor ()
 
virtual ~ImageProcessor ()
 

Public Attributes

int time
 
float factor
 

Additional Inherited Members

- Protected Attributes inherited from StdImageProcessor
Camera::CameraImage _dest
 
Camera::CameraImage _src
 

Detailed Description

time average of image

See Also
StdImageProcessor.

Constructor & Destructor Documentation

AvgImgProc ( bool  show,
float  scale,
int  time 
)
inline
Parameters
timelength of averageing (time=1: no averaging)
virtual ~AvgImgProc ( )
inlinevirtual

Member Function Documentation

virtual void initDestImage ( Camera::CameraImage dest,
const Camera::CameraImage src 
)
inlinevirtual

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

Implements StdImageProcessor.

virtual void process ( const osg::Image *  src,
osg::Image *  dest 
)
inlinevirtual

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: