black and white image More...
#include <imageprocessors.h>
Inherits lpzrobots::StdImageProcessor.

Public Types | |
| enum | ChannelMask { Red = 1, Green = 2, Blue = 4, Hue = 1, Saturation = 2, Value = 4 } |
Public Member Functions | |
| BWImageProcessor (bool show, float scale, char channelmask=7) | |
| virtual | ~BWImageProcessor () |
| 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 | |
| bool | red |
| bool | green |
| bool | blue |
| char | numchannels |
| char | channelmask |
black and white image
| enum ChannelMask |
| BWImageProcessor | ( | bool | show, | |
| float | scale, | |||
| char | channelmask = 7 | |||
| ) | [inline] |
| channelmask | which channels to consider, |
| virtual ~BWImageProcessor | ( | ) | [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.
| bool blue |
| char channelmask |
| bool green |
| char numchannels |
| bool red |
1.6.3