39 #ifndef _NIBOBURGER_COLOR_H_
40 #define _NIBOBURGER_COLOR_H_
50 COLOR_RGB_WHITE = 0xffffffUL,
51 COLOR_RGB_BLACK = 0x000000UL,
52 COLOR_RGB_RED = 0xff0000UL,
53 COLOR_RGB_GREEN = 0x00ff00UL,
54 COLOR_RGB_BLUE = 0x0000ffUL,
56 COLOR_RGB_CAL_BLACK = 0x000000UL,
57 COLOR_RGB_CAL_WHITE = 0xffffffUL,
58 COLOR_RGB_CAL_BLUE = 0x220077UL,
59 COLOR_RGB_CAL_RED = 0xee1122UL,
60 COLOR_RGB_CAL_GREEN = 0x668844UL,
61 COLOR_RGB_CAL_YELLOW = 0xee5555UL
66 COLOR_HSV_CAL_BLACK = 0x000000UL,
67 COLOR_HSV_CAL_WHITE = 0x0000ffUL,
68 COLOR_HSV_CAL_BLUE = 0x91b558UL,
69 COLOR_HSV_CAL_RED = 0xbaf4b7UL,
70 COLOR_HSV_CAL_GREEN = 0x27cfaaUL,
71 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)