37 #ifndef _NIBOBURGER_COLOR_H_
38 #define _NIBOBURGER_COLOR_H_
48 COLOR_RGB_WHITE = 0xffffffUL,
49 COLOR_RGB_BLACK = 0x000000UL,
50 COLOR_RGB_RED = 0xff0000UL,
51 COLOR_RGB_GREEN = 0x00ff00UL,
52 COLOR_RGB_BLUE = 0x0000ffUL,
54 COLOR_RGB_CAL_BLACK = 0x000000UL,
55 COLOR_RGB_CAL_WHITE = 0xffffffUL,
56 COLOR_RGB_CAL_BLUE = 0x220077UL,
57 COLOR_RGB_CAL_RED = 0xee1122UL,
58 COLOR_RGB_CAL_GREEN = 0x668844UL,
59 COLOR_RGB_CAL_YELLOW = 0xee5555UL
64 COLOR_HSV_CAL_BLACK = 0x000000UL,
65 COLOR_HSV_CAL_WHITE = 0x0000ffUL,
66 COLOR_HSV_CAL_BLUE = 0x91b558UL,
67 COLOR_HSV_CAL_RED = 0xbaf4b7UL,
68 COLOR_HSV_CAL_GREEN = 0x27cfaaUL,
69 COLOR_HSV_CAL_YELLOW = 0x0cebfcUL
uint32_t color_convert_RGB2hsv(uint8_t r, uint8_t g, uint8_t b)
uint16_t color_diff_rgb(uint32_t colorA, uint32_t colorB)
uint32_t color_convert_RGB2rgb(uint8_t r, uint8_t g, uint8_t b)
uint16_t color_diff_hsv_bal(uint32_t colorA, uint32_t colorB, uint8_t vTol)
uint16_t color_diff_hsv(uint32_t colorA, uint32_t colorB)