latest version v1.9 - last update 10 Apr 2010 |
Merge HSI (Hue Saturation Intensity) channels. More...
#include <ltiMergeHSIToImage.h>
Public Member Functions | |
mergeHSIToImage (void) | |
virtual const char * | getTypeName () const |
virtual functor * | clone () const |
virtual bool | apply (const matrix< float > &H, const matrix< float > &S, const matrix< float > &I, image &img) const |
virtual bool | apply (const channel8 &H, const channel8 &S, const channel8 &I, image &img) const |
virtual bool | apply (const float &H, const float &S, const float &I, rgbPixel &pixel) const |
virtual bool | apply (const ubyte &H, const ubyte &S, const ubyte &I, rgbPixel &pixel) const |
Merge HSI (Hue Saturation Intensity) channels.
lti::mergeHSIToImage::mergeHSIToImage | ( | void | ) |
Constructor.
virtual bool lti::mergeHSIToImage::apply | ( | const ubyte & | H, | |
const ubyte & | S, | |||
const ubyte & | I, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the hue value H, saturation S and intensity value I to a pixel
H | the hue value | |
S | the saturation value | |
I | the intensity value | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual bool lti::mergeHSIToImage::apply | ( | const float & | H, | |
const float & | S, | |||
const float & | I, | |||
rgbPixel & | pixel | |||
) | const [virtual] |
merge the hue value H, saturation S and intensity value I to a pixel
H | the hue value | |
S | the saturation value | |
I | the intensity value | |
pixel | the merged pixel |
Implements lti::mergeImage.
virtual functor* lti::mergeHSIToImage::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the functor.
Implements lti::functor.
virtual const char* lti::mergeHSIToImage::getTypeName | ( | ) | const [virtual] |
return the name of this type
Reimplemented from lti::mergeImage.