|
latest version v1.9 - last update 10 Apr 2010 |
|
This functor replaces a specified background color of an image with another color or another image ("Bluescreen Technique"). More...
#include <ltiBlueScreen.h>


Classes | |
| class | parameters |
| the parameters for the class blueScreen More... | |
Public Member Functions | |
| blueScreen () | |
| blueScreen (const parameters &par) | |
| blueScreen (const blueScreen &other) | |
| virtual | ~blueScreen () |
| virtual const char * | getTypeName () const |
| bool | apply (image &srcdest, image &background) const |
| bool | apply (image &srcdest, rgbPixel &background) const |
| bool | apply (const image &src, image &dest, image &background) const |
| bool | apply (const image &src, image &dest, rgbPixel &background) const |
| blueScreen & | copy (const blueScreen &other) |
| blueScreen & | operator= (const blueScreen &other) |
| virtual functor * | clone () const |
| const parameters & | getParameters () const |
Protected Member Functions | |
| bool | inCube (rgbPixel check) const |
This functor replaces a specified background color of an image with another color or another image ("Bluescreen Technique").
The background color is indicated through a spherical or cubic window in the RGB color space.
| lti::blueScreen::blueScreen | ( | ) |
default constructor
| lti::blueScreen::blueScreen | ( | const parameters & | par | ) |
Construct a functor using the given parameters.
| lti::blueScreen::blueScreen | ( | const blueScreen & | other | ) |
copy constructor
| other | the object to be copied |
| virtual lti::blueScreen::~blueScreen | ( | ) | [virtual] |
destructor
operates on the given parameter.
| srcdest | image with the source data. The result will be left here too. | |
| background,: | new background color |
| virtual functor* lti::blueScreen::clone | ( | ) | const [virtual] |
returns a pointer to a clone of this functor.
Implements lti::functor.
| blueScreen& lti::blueScreen::copy | ( | const blueScreen & | other | ) |
copy data of "other" functor.
| other | the functor to be copied |
Reimplemented from lti::functor.
| const parameters& lti::blueScreen::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::modifier.
| virtual const char* lti::blueScreen::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("blueScreen")
Reimplemented from lti::modifier.
| bool lti::blueScreen::inCube | ( | rgbPixel | check | ) | const [protected] |
Checks if a given rgbPixel is in the defined cube-shaped area in the rgb-color-space.
| blueScreen& lti::blueScreen::operator= | ( | const blueScreen & | other | ) |