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