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
LineImgProc Struct Reference

creates a lightsensitive sensorline. More...

#include <imageprocessors.h>

Inheritance diagram for LineImgProc:
Collaboration diagram for LineImgProc:

Public Member Functions

 LineImgProc (bool show, float scale, int num, double factor=20.0)
 
virtual ~LineImgProc ()
 
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 num
 
double factor
 

Additional Inherited Members

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

Detailed Description

creates a lightsensitive sensorline.

It requires a black and white source, e.g. provided by BWImageProcessor, ColorFilterImgProc

Parameters
numnumber of segments of the sensor line
factorfactor for average pixel value (rescaling)
See Also
StdImageProcessor

Constructor & Destructor Documentation

LineImgProc ( bool  show,
float  scale,
int  num,
double  factor = 20.0 
)
inline
virtual ~LineImgProc ( )
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

double factor
int num

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