Effects Class Reference
Standard interface to the available effects. More...
#include <Effects.h>
Public Member Functions | |
yarp::os::Bottle | getEffects () |
Get a list of the available effects. | |
yarp::os::ConstString | getCurrentEffect () |
Get the name of the currently active effect. | |
bool | setEffect (const char *name) |
Choose a named effect. | |
yarp::os::Property | getConfiguration () |
Get the configuration of the current effect. | |
void | setConfiguration (yarp::os::Property &prop) |
Reconfigure the current effect. | |
Static Public Member Functions | |
static bool | apply (yarp::sig::ImageOf< yarp::sig::PixelRgb > &in, yarp::sig::ImageOf< yarp::sig::PixelRgb > &out) |
Apply the current effect to an image, RGB version. | |
static bool | apply (yarp::sig::ImageOf< yarp::sig::PixelBgr > &in, yarp::sig::ImageOf< yarp::sig::PixelBgr > &out) |
Apply the current effect to an image, BGR version. | |
static bool | apply (yarp::sig::ImageOf< yarp::sig::PixelRgb > &in, yarp::sig::ImageOf< yarp::sig::PixelBgr > &out) |
Apply the current effect to an image, RGB to BGR version. |
Detailed Description
Standard interface to the available effects.The Effects::apply method applies an effect selected using Effects::setEffect. The apply method can be called with various image formats.
The documentation for this class was generated from the following files:
- src/common/Effects.h
- src/common/Effects.cpp