CVR-Lib last update 20 Sep 2009

cvr::mergeImage Class Reference
[Color Analysis]

Abstract base class for all merge image functor-classes. More...

#include <cvrMergeImage.h>

Inheritance diagram for cvr::mergeImage:

Inheritance graph
[legend]
Collaboration diagram for cvr::mergeImage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 mergeImage ()
virtual ~mergeImage ()
virtual mergeImageclone () const =0
virtual mergeImagenewInstance () const =0
virtual bool apply (const matrix< float > &c1, const matrix< float > &c2, const matrix< float > &c3, image &img) const =0
virtual bool apply (const matrix< ubyte > &c1, const matrix< ubyte > &c2, const matrix< ubyte > &c3, image &img) const =0
virtual bool apply (const float &c1, const float &c2, const float &c3, rgbaPixel &pixel) const =0
virtual bool apply (const ubyte &c1, const ubyte &c2, const ubyte &c3, rgbaPixel &pixel) const =0


Detailed Description

Abstract base class for all merge image functor-classes.

These functors merge color-channels to a color image.

This is a virtual class, so you cannot instantiate it.


Constructor & Destructor Documentation

cvr::mergeImage::mergeImage (  ) 

default constructor

virtual cvr::mergeImage::~mergeImage (  )  [virtual]

destructor


Member Function Documentation

virtual bool cvr::mergeImage::apply ( const ubyte c1,
const ubyte c2,
const ubyte c3,
rgbaPixel pixel 
) const [pure virtual]

virtual bool cvr::mergeImage::apply ( const float &  c1,
const float &  c2,
const float &  c3,
rgbaPixel pixel 
) const [pure virtual]

virtual bool cvr::mergeImage::apply ( const matrix< ubyte > &  c1,
const matrix< ubyte > &  c2,
const matrix< ubyte > &  c3,
image img 
) const [pure virtual]

virtual bool cvr::mergeImage::apply ( const matrix< float > &  c1,
const matrix< float > &  c2,
const matrix< float > &  c3,
image img 
) const [pure virtual]

on-copy operator for 32-bit "floating-point" channels

Implemented in cvr::mergeHSIToImage, cvr::mergeRGBToImage, cvr::mergeYCbCrToImage, cvr::mergeYIQToImage, cvr::mergeYPbPrToImage, and cvr::mergeYUVToImage.

virtual mergeImage* cvr::mergeImage::clone (  )  const [pure virtual]

virtual mergeImage* cvr::mergeImage::newInstance (  )  const [pure virtual]


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

Generated on Sun Sep 20 22:08:50 2009 for CVR-Lib by Doxygen 1.5.8