LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::mergeHLSToImage Class Reference
[Color Analysis]

Merge HLS channels (Hue, Luminance, Saturation). More...

#include <ltiMergeHLSToImage.h>

Inheritance diagram for lti::mergeHLSToImage:
Inheritance graph
[legend]
Collaboration diagram for lti::mergeHLSToImage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * getTypeName () const
virtual functorclone () 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

Detailed Description

Merge HLS channels (Hue, Luminance, Saturation).


Member Function Documentation

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.

Parameters:
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.

Parameters:
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 channel8 H,
const channel8 L,
const channel8 S,
image img 
) const [virtual]

merge the hue channel H, luminance L and saturation channel S into an image.

Parameters:
H the hue channel
L the luminance channel
S the saturation channel
img the image to be splitted

Implements lti::mergeImage.

virtual bool lti::mergeHLSToImage::apply ( const matrix< float > &  H,
const matrix< float > &  L,
const matrix< float > &  S,
image img 
) const [virtual]

merge the hue channel H, luminance L and saturation channel S into an image.

Parameters:
H the hue channel
L the luminance channel
S the saturation channel
img the image to be splitted

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.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:35 2010 for LTI-Lib by Doxygen 1.6.1