latest version v1.9 - last update 10 Apr 2010 |
Merge YIQ channels (Luminance, Inphase, Quadrature). More...
#include <ltiMergeYIQToImage.h>
Public Member Functions | |
virtual const char * | getTypeName () const |
virtual functor * | clone () const |
virtual bool | apply (const matrix< float > &Y, const matrix< float > &I, const matrix< float > &Q, image &img) const |
virtual bool | apply (const channel8 &Y, const channel8 &I, const channel8 &Q, image &img) const |
virtual bool | apply (const float &Y, const float &I, const float &Q, rgbPixel &pixel) const |
virtual bool | apply (const ubyte &Y, const ubyte &I, const ubyte &Q, rgbPixel &pixel) const |
Merge YIQ channels (Luminance, Inphase, Quadrature).
This is an almost forgotten color space, as the standards use now the YCbCr, YPbPr or YUV spaces.
virtual bool lti::mergeYIQToImage::apply | ( | const ubyte & | Y, | |
const ubyte & | I, | |||
const ubyte & | Q, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the Y,I,Q values to a pixel YIQ merging requires unnormalized values !
Y | the perceived luminance | |
I | color information and some luminance | |
Q | color information and some luminance | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual bool lti::mergeYIQToImage::apply | ( | const float & | Y, | |
const float & | I, | |||
const float & | Q, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the Y,I,Q values to a pixel YIQ merging requires unnormalized values !
Y | the perceived luminance | |
I | color information and some luminance | |
Q | color information and some luminance | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual bool lti::mergeYIQToImage::apply | ( | const channel8 & | Y, | |
const channel8 & | I, | |||
const channel8 & | Q, | |||
image & | img | |||
) | const [virtual] |
merge the Y,I,Q channel to an image YIQ merging requires unnormalized channels !
Y | the perceived luminance | |
I | color information and some luminance | |
Q | color information and some luminance | |
img | the merged image |
Implements lti::mergeImage.
virtual bool lti::mergeYIQToImage::apply | ( | const matrix< float > & | Y, | |
const matrix< float > & | I, | |||
const matrix< float > & | Q, | |||
image & | img | |||
) | const [virtual] |
merge the Y,I,Q channel to an image YIQ merging requires unnormalized channels !
Y | the perceived luminance | |
I | color information and some luminance | |
Q | color information and some luminance | |
img | the merged image |
Implements lti::mergeImage.
virtual functor* lti::mergeYIQToImage::clone | ( | ) | const [virtual] |
returns a poinbter to a clone of the functor
Implements lti::functor.
virtual const char* lti::mergeYIQToImage::getTypeName | ( | ) | const [virtual] |
returns the name of this type
Reimplemented from lti::mergeImage.