last update 20 Sep 2009 |
#include <cvrMergeRGBToImage.h>
Public Member Functions | |
virtual const std::string & | name () const |
virtual mergeRGBToImage * | clone () const |
virtual mergeRGBToImage * | newInstance () const |
virtual bool | apply (const matrix< float > &red, const matrix< float > &green, const matrix< float > &blue, image &img) const |
virtual bool | apply (const matrix< ubyte > &red, const matrix< ubyte > &green, const matrix< ubyte > &blue, image &img) const |
bool | apply (const matrix< float > &red, const matrix< float > &green, const matrix< float > &blue, const matrix< float > &alpha, image &img) const |
bool | apply (const matrix< ubyte > &red, const matrix< ubyte > &green, const matrix< ubyte > &blue, const matrix< ubyte > &alpha, image &img) const |
virtual bool | apply (const float &red, const float &green, const float &blue, rgbaPixel &pixel) const |
virtual bool | apply (const ubyte &red, const ubyte &green, const ubyte &blue, rgbaPixel &pixel) const |
Merge the three given channels in a color image.
virtual bool cvr::mergeRGBToImage::apply | ( | const ubyte & | red, | |
const ubyte & | green, | |||
const ubyte & | blue, | |||
rgbaPixel & | pixel | |||
) | const [virtual] |
merge the values red, green and blue to a pixel
red | the red value | |
green | the green value | |
blue | the blue value | |
pixel | the merged pixel |
Implements cvr::mergeImage.
virtual bool cvr::mergeRGBToImage::apply | ( | const float & | red, | |
const float & | green, | |||
const float & | blue, | |||
rgbaPixel & | pixel | |||
) | const [virtual] |
merge the values red, green and blue to a pixel.
red | the red value | |
green | the green value | |
blue | the blue value | |
pixel | the pixel to be splitted |
Implements cvr::mergeImage.
virtual mergeRGBToImage* cvr::mergeRGBToImage::clone | ( | ) | const [virtual] |
virtual const std::string& cvr::mergeRGBToImage::name | ( | ) | const [virtual] |
virtual mergeRGBToImage* cvr::mergeRGBToImage::newInstance | ( | ) | const [virtual] |