Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
creates a lightsensitive sensorline. More...
#include <imageprocessors.h>
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... | |
![]() | |
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... | |
![]() | |
ImageProcessor () | |
virtual | ~ImageProcessor () |
Public Attributes | |
int | num |
double | factor |
Additional Inherited Members | |
![]() | |
Camera::CameraImage | _dest |
Camera::CameraImage | _src |
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) |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
overload this function and initialise the dest.img and the dest.name
Implements StdImageProcessor.
|
inlinevirtual |
overload this function and do processing here
Implements StdImageProcessor.
double factor |
int num |