CColorConverter Class Reference

#include <colorconv.h>

Inheritance diagram for CColorConverter:

Inheritance graph
List of all members.

Detailed Description

Base class for color conversion classes.


Public Member Functions

virtual int Convert (unsigned char *dst, const unsigned char *src, int width, int height)=0
virtual CColorConverterClone ()=0


Member Function Documentation

virtual CColorConverter* Clone  )  [pure virtual]
 

Create exact copy of this object.

Returns:
Pointer to new object.

Implemented in CCanonicalColorConverter.

virtual int Convert unsigned char *  dst,
const unsigned char *  src,
int  width,
int  height
[pure virtual]
 

Converts color src image into luminance dst image.

The src image is stored in the array row-wise, each succesive triplets of bytes correspond to R,G,B respectively. The converted image shall be stored in dst in the same row-wise way, 1 Byte per pixel.

Parameters:
dst Destination image.
dst Source image.
width Width of the source image.
height Height of the source image.

Implemented in CCanonicalColorConverter.


Generated on Tue Jul 11 11:22:31 2006 for ImgFusion by  doxygen 1.4.6