Tachyon (current)  Current Main Branch
colorchecker_tables.h
Go to the documentation of this file.
1 /*
2  * colorchecker_tables.h - Table of ColorChecker sRGB patch colors and names
3  *
4  * (C) Copyright 2013-2022 John E. Stone
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * $Id: colorchecker_tables.h,v 1.1 2022/03/23 06:41:57 johns Exp $
8  *
9  */
10 
26 #define COLORCHECKER_NUM_PATCHES 24
27 static const int colorchecker_maxval = 255;
28 static const int colorchecker_srgbi[] = {
29  115, 82 , 68, // dark skin
30  194, 150, 130, // light skin
31  98, 122, 157, // blue sky
32  87, 108, 67, // foliage
33  133, 128, 177, // blue flower
34  103, 189, 170, // bluish green
35 
36  214, 126, 44, // orange
37  80, 91, 166, // purple red
38  193, 90, 99, // moderate red
39  94, 60, 108, // purple
40  157, 188, 64, // yellow green
41  224, 163, 46, // orange yellow
42 
43  56, 61, 150, // blue
44  70, 148, 73, // green
45  175, 54, 60, // red
46  231, 199, 31, // yellow
47  187, 86, 149, // magenta
48  8, 133, 161, // cyan
49 
50  243, 243, 242, // white
51  200, 200, 200, // neutral 8
52  160, 160, 160, // neutral 6.5
53  122, 122, 121, // neutral 5
54  85, 85, 85, // neutral 3.5
55  52, 52, 52 // black
56 };
57 
58 
59 #if 0
60 static const char * colorchecker_names[] = {
61  "dark skin",
62  "light skin",
63  "blue sky",
64  "foliage",
65  "blue flower",
66  "bluish green",
67 
68  "orange",
69  "purple red",
70  "moderate red",
71  "purple",
72  "yellow green",
73  "orange yellow",
74 
75  "blue",
76  "green",
77  "red",
78  "yellow",
79  "magenta",
80  "cyan",
81 
82  "white",
83  "neutral 8",
84  "neutral 6.5",
85  "neutral 5",
86  "neutral 3.5",
87  "black"
88 };
89 #endif
90 
static const int colorchecker_maxval
static const int colorchecker_srgbi[]