creates a lightsensitive sensorline. More...
#include <imageprocessors.h>
Inherits lpzrobots::StdImageProcessor.

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 | |
| virtual void | process (const osg::Image *src, osg::Image *dest) |
| overload this function and do processing here | |
Public Attributes | |
| int | num |
| double | factor |
creates a lightsensitive sensorline.
It requires a black and white source, e.g. provided by BWImageProcessor, ColorFilterImgProc
| num | number of segments of the sensor line | |
| factor | factor for average pixel value (rescaling) |
| LineImgProc | ( | bool | show, | |
| float | scale, | |||
| int | num, | |||
| double | factor = 20.0 | |||
| ) | [inline] |
| virtual ~LineImgProc | ( | ) | [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.
| double factor |
| int num |
1.6.3