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

lti::mergeRGBToImage Class Reference
[Color Analysis]

Merge RGB channels. More...

#include <ltiMergeRGBToImage.h>

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

List of all members.

Public Member Functions

virtual const char * getTypeName () const
virtual functorclone () const
virtual bool apply (const matrix< float > &red, const matrix< float > &green, const matrix< float > &blue, image &img) const
virtual bool apply (const channel8 &red, const channel8 &green, const channel8 &blue, image &img) const
bool apply (const matrix< float > &red, const matrix< float > &green, const matrix< float > &blue, const matrix< float > &alpha, image &img) const
bool apply (const channel8 &red, const channel8 &green, const channel8 &blue, const channel8 &alpha, image &img) const
virtual bool apply (const float &red, const float &green, const float &blue, rgbPixel &pixel) const
virtual bool apply (const ubyte &red, const ubyte &green, const ubyte &blue, rgbPixel &pixel) const

Detailed Description

Merge RGB channels.

Merge the three given channels in a color image.

See also:
splitImageToRGB

Member Function Documentation

virtual bool lti::mergeRGBToImage::apply ( const ubyte red,
const ubyte green,
const ubyte blue,
rgbPixel pixel 
) const [virtual]

merge the values red, green and blue to a pixel

Parameters:
red the red value
green the green value
blue the blue value
pixel the merged pixel

Implements lti::mergeImage.

virtual bool lti::mergeRGBToImage::apply ( const float &  red,
const float &  green,
const float &  blue,
rgbPixel pixel 
) const [virtual]

merge the values red, green and blue to a pixel.

Parameters:
red the red value
green the green value
blue the blue value
pixel the pixel to be splitted

Implements lti::mergeImage.

bool lti::mergeRGBToImage::apply ( const channel8 red,
const channel8 green,
const channel8 blue,
const channel8 alpha,
image img 
) const

Merge the channels red, green, blue and the dummy (or alpha) to an image.

Parameters:
red the red channel
green the green channel
blue the blue channel
alpha the alpha or dummy channel
img the merged image
bool lti::mergeRGBToImage::apply ( const matrix< float > &  red,
const matrix< float > &  green,
const matrix< float > &  blue,
const matrix< float > &  alpha,
image img 
) const

Merge the channels red, green, blue and the dummy (or alpha) to an image.

Parameters:
red the red channel
green the green channel
blue the blue channel
alpha the alpha or dummy channel
img the merged image
virtual bool lti::mergeRGBToImage::apply ( const channel8 red,
const channel8 green,
const channel8 blue,
image img 
) const [virtual]

merge the channels red, green and blue to an image

Parameters:
red the red channel
green the green channel
blue the blue channel
img the merged image

Implements lti::mergeImage.

virtual bool lti::mergeRGBToImage::apply ( const matrix< float > &  red,
const matrix< float > &  green,
const matrix< float > &  blue,
image img 
) const [virtual]

merge the channels red, green and blue to an image

Parameters:
red the red channel
green the green channel
blue the blue channel
img the merged image

Implements lti::mergeImage.

virtual functor* lti::mergeRGBToImage::clone (  )  const [virtual]

returns a pointer to a clone of the functor.

Implements lti::functor.

virtual const char* lti::mergeRGBToImage::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