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

black and white image More...

#include <imageprocessors.h>

Inheritance diagram for BWImageProcessor:
Collaboration diagram for BWImageProcessor:

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 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

bool red
 
bool green
 
bool blue
 
char numchannels
 
char channelmask
 

Additional Inherited Members

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

Detailed Description

black and white image

See Also
StdImageProcessor

Member Enumeration Documentation

Enumerator
Red 
Green 
Blue 
Hue 
Saturation 
Value 

Constructor & Destructor Documentation

BWImageProcessor ( bool  show,
float  scale,
char  channelmask = 7 
)
inline
Parameters
channelmaskwhich channels to consider,
See Also
BWImageProcessor::ChannelMask
virtual ~BWImageProcessor ( )
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

bool blue
char channelmask
bool green
char numchannels
bool red

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