#include <colorconv.h>
Inheritance diagram for CColorConverter:
Public Member Functions | |
virtual int | Convert (unsigned char *dst, const unsigned char *src, int width, int height)=0 |
virtual CColorConverter * | Clone ()=0 |
|
Create exact copy of this object.
Implemented in CCanonicalColorConverter. |
|
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.
Implemented in CCanonicalColorConverter. |