latest version v1.9 - last update 10 Apr 2010 |
Merge HLS channels (Hue, Luminance, Saturation). More...
#include <ltiMergeHLSToImage.h>
Public Member Functions | |
virtual const char * | getTypeName () const |
virtual functor * | clone () const |
virtual bool | apply (const matrix< float > &H, const matrix< float > &L, const matrix< float > &S, image &img) const |
virtual bool | apply (const channel8 &H, const channel8 &L, const channel8 &S, image &img) const |
virtual bool | apply (const float &H, const float &L, const float &S, rgbPixel &pixel) const |
virtual bool | apply (const ubyte &H, const ubyte &L, const ubyte &S, rgbPixel &pixel) const |
Merge HLS channels (Hue, Luminance, Saturation).
virtual bool lti::mergeHLSToImage::apply | ( | const ubyte & | H, | |
const ubyte & | L, | |||
const ubyte & | S, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the hue value H, luminance L and saturation value S into a pixel.
H | the hue value | |
L | the luminance value | |
S | the saturation value | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual bool lti::mergeHLSToImage::apply | ( | const float & | H, | |
const float & | L, | |||
const float & | S, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the hue value H, luminance L and saturation value S into a pixel.
H | the hue value | |
L | the luminance value | |
S | the saturation value | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual functor* lti::mergeHLSToImage::clone | ( | ) | const [virtual] |
returns a poinbter to a clone of the functor
Implements lti::functor.
virtual const char* lti::mergeHLSToImage::getTypeName | ( | ) | const [virtual] |
returns the name of this type
Reimplemented from lti::mergeImage.