latest version v1.9 - last update 10 Apr 2010 |
Base class for all merge image functor-classes. More...
#include <ltiMergeImage.h>
Public Member Functions | |
mergeImage () | |
virtual | ~mergeImage () |
mergeImage & | copy (const mergeImage &other) |
mergeImage & | operator= (const mergeImage &other) |
virtual bool | apply (const matrix< float > &c1, const matrix< float > &c2, const matrix< float > &c3, image &img) const =0 |
virtual bool | apply (const channel8 &c1, const channel8 &c2, const channel8 &c3, image &img) const =0 |
virtual bool | apply (const float &c1, const float &c2, const float &c3, rgbPixel &pixel) const =0 |
virtual bool | apply (const ubyte &c1, const ubyte &c2, const ubyte &c3, rgbPixel &pixel) const =0 |
virtual const char * | getTypeName () const |
Base class for all merge image functor-classes.
These functors merge color-channels to a color image.
This is a virtual class, so you cannot instantiate it.
lti::mergeImage::mergeImage | ( | ) | [inline] |
default constructor
virtual lti::mergeImage::~mergeImage | ( | ) | [inline, virtual] |
destructor
virtual bool lti::mergeImage::apply | ( | const ubyte & | c1, | |
const ubyte & | c2, | |||
const ubyte & | c3, | |||
rgbPixel & | pixel | |||
) | const [pure virtual] |
on-copy operator for 8-bit values
Implemented in lti::mergeCIELuvToImage, lti::mergeHLSToImage, lti::mergeHSIToImage, lti::mergeHSVToImage, lti::mergeOCPToImage, lti::mergeRGBToImage, lti::mergergIToImage, lti::mergexyYToImage, lti::mergeXYZToImage, lti::mergeYCbCrToImage, lti::mergeYIQToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
virtual bool lti::mergeImage::apply | ( | const float & | c1, | |
const float & | c2, | |||
const float & | c3, | |||
rgbPixel & | pixel | |||
) | const [pure virtual] |
on-copy operator for 32-bit floating point values
Implemented in lti::mergeCIELuvToImage, lti::mergeHLSToImage, lti::mergeHSIToImage, lti::mergeHSVToImage, lti::mergeOCPToImage, lti::mergeRGBToImage, lti::mergergIToImage, lti::mergexyYToImage, lti::mergeXYZToImage, lti::mergeYCbCrToImage, lti::mergeYIQToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
virtual bool lti::mergeImage::apply | ( | const channel8 & | c1, | |
const channel8 & | c2, | |||
const channel8 & | c3, | |||
image & | img | |||
) | const [pure virtual] |
on-copy operator for 8-bit channels
Implemented in lti::mergeCIELuvToImage, lti::mergeHLSToImage, lti::mergeHSIToImage, lti::mergeHSVToImage, lti::mergeOCPToImage, lti::mergeRGBToImage, lti::mergergIToImage, lti::mergexyYToImage, lti::mergeXYZToImage, lti::mergeYCbCrToImage, lti::mergeYIQToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
virtual bool lti::mergeImage::apply | ( | const matrix< float > & | c1, | |
const matrix< float > & | c2, | |||
const matrix< float > & | c3, | |||
image & | img | |||
) | const [pure virtual] |
on-copy operator for 32-bit "floating-point" channels
Implemented in lti::mergeCIELuvToImage, lti::mergeHLSToImage, lti::mergeHSIToImage, lti::mergeHSVToImage, lti::mergeOCPToImage, lti::mergeRGBToImage, lti::mergergIToImage, lti::mergexyYToImage, lti::mergeXYZToImage, lti::mergeYCbCrToImage, lti::mergeYIQToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
mergeImage& lti::mergeImage::copy | ( | const mergeImage & | other | ) |
Copy operator.
Reimplemented from lti::functor.
Reimplemented in lti::mergeYCbCrToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
virtual const char* lti::mergeImage::getTypeName | ( | ) | const [virtual] |
returns the name of this type
Reimplemented from lti::functor.
Reimplemented in lti::mergeCIELuvToImage, lti::mergeHLSToImage, lti::mergeHSIToImage, lti::mergeHSVToImage, lti::mergeOCPToImage, lti::mergeRGBToImage, lti::mergergIToImage, lti::mergexyYToImage, lti::mergeXYZToImage, lti::mergeYCbCrToImage, lti::mergeYIQToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.
mergeImage& lti::mergeImage::operator= | ( | const mergeImage & | other | ) |
Copy operator.
Reimplemented from lti::functor.
Reimplemented in lti::mergeYCbCrToImage, lti::mergeYPbPrToImage, and lti::mergeYUVToImage.