#include <ColorSpace.h>
Inheritance diagram for RGB:
Static Public Member Functions | |
static RGB | instance () |
singleton accessor | |
static int | discretization (Color c, int nr, int ng, int nb) |
discretization operator | |
static Color | mapColor (int k, int nr, int ng, int nb) |
color mapping operator |
class RGB implements a RGB ColorSpace.
NOTE: the methods rgb_to_index and index_to_rgb were renamed to discretization and mapColor respectively.