6 const std::array<CString, 8> gColorStrings = { L
"None", L
"Gray", L
"Red", L
"Green", L
"Blue", L
"Yellow", L
"Rainbow", L
"Limits"} ;
8 const std::array<BGRA8Pixel,256> RainbowTable = {
10 BGRA8Pixel(0, 5, 255),
11 BGRA8Pixel(0, 9, 255),
12 BGRA8Pixel(0, 14, 255),
13 BGRA8Pixel(0, 19, 255),
14 BGRA8Pixel(0, 23, 255),
15 BGRA8Pixel(0, 28, 255),
16 BGRA8Pixel(0, 33, 255),
17 BGRA8Pixel(0, 38, 255),
18 BGRA8Pixel(0, 43, 255),
19 BGRA8Pixel(0, 48, 255),
20 BGRA8Pixel(0, 52, 255),
21 BGRA8Pixel(0, 57, 255),
22 BGRA8Pixel(0, 62, 255),
23 BGRA8Pixel(0, 66, 255),
24 BGRA8Pixel(0, 71, 255),
25 BGRA8Pixel(0, 76, 255),
26 BGRA8Pixel(0, 80, 255),
27 BGRA8Pixel(0, 85, 255),
28 BGRA8Pixel(0, 90, 255),
29 BGRA8Pixel(0, 95, 255),
30 BGRA8Pixel(0, 100, 255),
31 BGRA8Pixel(0, 104, 255),
32 BGRA8Pixel(0, 109, 255),
33 BGRA8Pixel(0, 114, 255),
34 BGRA8Pixel(0, 118, 255),
35 BGRA8Pixel(0, 123, 255),
36 BGRA8Pixel(0, 128, 255),
37 BGRA8Pixel(0, 132, 255),
38 BGRA8Pixel(0, 137, 255),
39 BGRA8Pixel(0, 142, 255),
40 BGRA8Pixel(0, 146, 255),
41 BGRA8Pixel(0, 151, 255),
42 BGRA8Pixel(0, 156, 255),
43 BGRA8Pixel(0, 161, 255),
44 BGRA8Pixel(0, 166, 255),
45 BGRA8Pixel(0, 171, 255),
46 BGRA8Pixel(0, 175, 255),
47 BGRA8Pixel(0, 180, 255),
48 BGRA8Pixel(0, 185, 255),
49 BGRA8Pixel(0, 189, 255),
50 BGRA8Pixel(0, 194, 255),
51 BGRA8Pixel(0, 199, 255),
52 BGRA8Pixel(0, 203, 255),
53 BGRA8Pixel(0, 208, 255),
54 BGRA8Pixel(0, 213, 255),
55 BGRA8Pixel(0, 217, 255),
56 BGRA8Pixel(0, 222, 255),
57 BGRA8Pixel(0, 227, 255),
58 BGRA8Pixel(0, 232, 255),
59 BGRA8Pixel(0, 237, 255),
60 BGRA8Pixel(0, 242, 255),
61 BGRA8Pixel(0, 246, 255),
62 BGRA8Pixel(0, 251, 255),
63 BGRA8Pixel(0, 255, 255),
64 BGRA8Pixel(0, 255, 255),
65 BGRA8Pixel(0, 255, 255),
66 BGRA8Pixel(0, 255, 254),
67 BGRA8Pixel(0, 255, 250),
68 BGRA8Pixel(0, 255, 245),
69 BGRA8Pixel(0, 255, 240),
70 BGRA8Pixel(0, 255, 236),
71 BGRA8Pixel(0, 255, 231),
72 BGRA8Pixel(0, 255, 226),
73 BGRA8Pixel(0, 255, 221),
74 BGRA8Pixel(0, 255, 216),
75 BGRA8Pixel(0, 255, 212),
76 BGRA8Pixel(0, 255, 207),
77 BGRA8Pixel(0, 255, 202),
78 BGRA8Pixel(0, 255, 198),
79 BGRA8Pixel(0, 255, 193),
80 BGRA8Pixel(0, 255, 188),
81 BGRA8Pixel(0, 255, 184),
82 BGRA8Pixel(0, 255, 179),
83 BGRA8Pixel(0, 255, 174),
84 BGRA8Pixel(0, 255, 169),
85 BGRA8Pixel(0, 255, 164),
86 BGRA8Pixel(0, 255, 159),
87 BGRA8Pixel(0, 255, 155),
88 BGRA8Pixel(0, 255, 150),
89 BGRA8Pixel(0, 255, 145),
90 BGRA8Pixel(0, 255, 141),
91 BGRA8Pixel(0, 255, 136),
92 BGRA8Pixel(0, 255, 131),
93 BGRA8Pixel(0, 255, 127),
94 BGRA8Pixel(0, 255, 122),
95 BGRA8Pixel(0, 255, 117),
96 BGRA8Pixel(0, 255, 113),
97 BGRA8Pixel(0, 255, 108),
98 BGRA8Pixel(0, 255, 103),
99 BGRA8Pixel(0, 255, 99),
100 BGRA8Pixel(0, 255, 94),
101 BGRA8Pixel(0, 255, 89),
102 BGRA8Pixel(0, 255, 84),
103 BGRA8Pixel(0, 255, 79),
104 BGRA8Pixel(0, 255, 74),
105 BGRA8Pixel(0, 255, 70),
106 BGRA8Pixel(0, 255, 65),
107 BGRA8Pixel(0, 255, 60),
108 BGRA8Pixel(0, 255, 56),
109 BGRA8Pixel(0, 255, 51),
110 BGRA8Pixel(0, 255, 46),
111 BGRA8Pixel(0, 255, 42),
112 BGRA8Pixel(0, 255, 37),
113 BGRA8Pixel(0, 255, 32),
114 BGRA8Pixel(0, 255, 27),
115 BGRA8Pixel(0, 255, 22),
116 BGRA8Pixel(0, 255, 18),
117 BGRA8Pixel(0, 255, 13),
118 BGRA8Pixel(0, 255, 8),
119 BGRA8Pixel(0, 255, 4),
120 BGRA8Pixel(0, 255, 0),
121 BGRA8Pixel(0, 255, 0),
122 BGRA8Pixel(0, 255, 0),
123 BGRA8Pixel(3, 255, 0),
124 BGRA8Pixel(8, 255, 0),
125 BGRA8Pixel(12, 255, 0),
126 BGRA8Pixel(17, 255, 0),
127 BGRA8Pixel(21, 255, 0),
128 BGRA8Pixel(25, 255, 0),
129 BGRA8Pixel(30, 255, 0),
130 BGRA8Pixel(35, 255, 0),
131 BGRA8Pixel(39, 255, 0),
132 BGRA8Pixel(44, 255, 0),
133 BGRA8Pixel(49, 255, 0),
134 BGRA8Pixel(53, 255, 0),
135 BGRA8Pixel(57, 255, 0),
136 BGRA8Pixel(62, 255, 0),
137 BGRA8Pixel(66, 255, 0),
138 BGRA8Pixel(71, 255, 0),
139 BGRA8Pixel(75, 255, 0),
140 BGRA8Pixel(79, 255, 0),
141 BGRA8Pixel(84, 255, 0),
142 BGRA8Pixel(89, 255, 0),
143 BGRA8Pixel(93, 255, 0),
144 BGRA8Pixel(98, 255, 0),
145 BGRA8Pixel(103, 255, 0),
146 BGRA8Pixel(107, 255, 0),
147 BGRA8Pixel(111, 255, 0),
148 BGRA8Pixel(116, 255, 0),
149 BGRA8Pixel(120, 255, 0),
150 BGRA8Pixel(125, 255, 0),
151 BGRA8Pixel(130, 255, 0),
152 BGRA8Pixel(134, 255, 0),
153 BGRA8Pixel(139, 255, 0),
154 BGRA8Pixel(143, 255, 0),
155 BGRA8Pixel(148, 255, 0),
156 BGRA8Pixel(152, 255, 0),
157 BGRA8Pixel(157, 255, 0),
158 BGRA8Pixel(161, 255, 0),
159 BGRA8Pixel(166, 255, 0),
160 BGRA8Pixel(170, 255, 0),
161 BGRA8Pixel(175, 255, 0),
162 BGRA8Pixel(179, 255, 0),
163 BGRA8Pixel(184, 255, 0),
164 BGRA8Pixel(188, 255, 0),
165 BGRA8Pixel(193, 255, 0),
166 BGRA8Pixel(197, 255, 0),
167 BGRA8Pixel(202, 255, 0),
168 BGRA8Pixel(206, 255, 0),
169 BGRA8Pixel(210, 255, 0),
170 BGRA8Pixel(215, 255, 0),
171 BGRA8Pixel(220, 255, 0),
172 BGRA8Pixel(224, 255, 0),
173 BGRA8Pixel(229, 255, 0),
174 BGRA8Pixel(234, 255, 0),
175 BGRA8Pixel(238, 255, 0),
176 BGRA8Pixel(242, 255, 0),
177 BGRA8Pixel(247, 255, 0),
178 BGRA8Pixel(251, 255, 0),
179 BGRA8Pixel(255, 255, 0),
180 BGRA8Pixel(255, 255, 0),
181 BGRA8Pixel(255, 255, 0),
182 BGRA8Pixel(255, 254, 0),
183 BGRA8Pixel(255, 249, 0),
184 BGRA8Pixel(255, 245, 0),
185 BGRA8Pixel(255, 240, 0),
186 BGRA8Pixel(255, 235, 0),
187 BGRA8Pixel(255, 231, 0),
188 BGRA8Pixel(255, 226, 0),
189 BGRA8Pixel(255, 221, 0),
190 BGRA8Pixel(255, 216, 0),
191 BGRA8Pixel(255, 211, 0),
192 BGRA8Pixel(255, 206, 0),
193 BGRA8Pixel(255, 202, 0),
194 BGRA8Pixel(255, 197, 0),
195 BGRA8Pixel(255, 192, 0),
196 BGRA8Pixel(255, 188, 0),
197 BGRA8Pixel(255, 183, 0),
198 BGRA8Pixel(255, 178, 0),
199 BGRA8Pixel(255, 174, 0),
200 BGRA8Pixel(255, 169, 0),
201 BGRA8Pixel(255, 164, 0),
202 BGRA8Pixel(255, 159, 0),
203 BGRA8Pixel(255, 154, 0),
204 BGRA8Pixel(255, 150, 0),
205 BGRA8Pixel(255, 145, 0),
206 BGRA8Pixel(255, 140, 0),
207 BGRA8Pixel(255, 136, 0),
208 BGRA8Pixel(255, 131, 0),
209 BGRA8Pixel(255, 126, 0),
210 BGRA8Pixel(255, 122, 0),
211 BGRA8Pixel(255, 117, 0),
212 BGRA8Pixel(255, 112, 0),
213 BGRA8Pixel(255, 108, 0),
214 BGRA8Pixel(255, 103, 0),
215 BGRA8Pixel(255, 98, 0),
216 BGRA8Pixel(255, 93, 0),
217 BGRA8Pixel(255, 88, 0),
218 BGRA8Pixel(255, 83, 0),
219 BGRA8Pixel(255, 79, 0),
220 BGRA8Pixel(255, 74, 0),
221 BGRA8Pixel(255, 69, 0),
222 BGRA8Pixel(255, 65, 0),
223 BGRA8Pixel(255, 60, 0),
224 BGRA8Pixel(255, 55, 0),
225 BGRA8Pixel(255, 51, 0),
226 BGRA8Pixel(255, 46, 0),
227 BGRA8Pixel(255, 41, 0),
228 BGRA8Pixel(255, 37, 0),
229 BGRA8Pixel(255, 32, 0),
230 BGRA8Pixel(255, 27, 0),
231 BGRA8Pixel(255, 22, 0),
232 BGRA8Pixel(255, 17, 0),
233 BGRA8Pixel(255, 12, 0),
234 BGRA8Pixel(255, 8, 0),
235 BGRA8Pixel(255, 3, 0),
236 BGRA8Pixel(255, 0, 0),
237 BGRA8Pixel(255, 0, 0),
238 BGRA8Pixel(255, 0, 0),
239 BGRA8Pixel(255, 0, 4),
240 BGRA8Pixel(255, 0, 9),
241 BGRA8Pixel(255, 0, 14),
242 BGRA8Pixel(255, 0, 19),
243 BGRA8Pixel(255, 0, 24),
244 BGRA8Pixel(255, 0, 29),
245 BGRA8Pixel(255, 0, 33),
246 BGRA8Pixel(255, 0, 38),
247 BGRA8Pixel(255, 0, 43),
248 BGRA8Pixel(255, 0, 48),
249 BGRA8Pixel(255, 0, 53),
250 BGRA8Pixel(255, 0, 58),
251 BGRA8Pixel(255, 0, 63),
252 BGRA8Pixel(255, 0, 68),
253 BGRA8Pixel(255, 0, 73),
254 BGRA8Pixel(255, 0, 79),
255 BGRA8Pixel(255, 0, 84),
256 BGRA8Pixel(255, 0, 89),
257 BGRA8Pixel(255, 0, 93),
258 BGRA8Pixel(255, 0, 98),
259 BGRA8Pixel(255, 0, 103),
260 BGRA8Pixel(255, 0, 108),
261 BGRA8Pixel(255, 0, 113),
262 BGRA8Pixel(255, 0, 118),
263 BGRA8Pixel(255, 0, 123),
264 BGRA8Pixel(255, 0, 128)
This is the include file for standard system include files, or project specific include files that ar...
following http://www.mochima.com/articles/LUT/lut_h.html