|
Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
filters for a specific color (requires HSV, so use HSVImgProc before) More...
#include <imageprocessors.h>


Public Member Functions | |
| ColorFilterImgProc (bool show, float scale, int minhue, int maxhue, int sat_threshold=100, int val_threshold=50) | |
| virtual | ~ColorFilterImgProc () |
| 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 | minhue |
| int | maxhue |
| int | sat_threshold |
| int | val_threshold |
Additional Inherited Members | |
Protected Attributes inherited from StdImageProcessor | |
| Camera::CameraImage | _dest |
| Camera::CameraImage | _src |
filters for a specific color (requires HSV, so use HSVImgProc before)
| minhue | minimal hue value to pass through |
| maxhue | maximal hue value to pass through |
| satThreshold | minimal saturation required to be considered as a color |
| valThreshold | minimal "value" required to be considered as a color |
|
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.
| int maxhue |
| int minhue |
| int sat_threshold |
| int val_threshold |