rgb_colors.cpp
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 /*********************************************************************
3  * Original color definition is at scikit-image distributed with
4  * following license disclaimer:
5  *
6  * Copyright (C) 2011, the scikit-image team
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions are
11  * met:
12  *
13  * 1. Redistributions of source code must retain the above copyright
14  * notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in
17  * the documentation and/or other materials provided with the
18  * distribution.
19  * 3. Neither the name of skimage nor the names of its contributors may be
20  * used to endorse or promote products derived from this software without
21  * specific prior written permission.
22  *
23  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
27  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
32  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33  * POSSIBILITY OF SUCH DAMAGE.
34  *********************************************************************/
35 
36 #include "cv_bridge/rgb_colors.h"
37 
38 
39 namespace cv_bridge
40 {
41 
42 namespace rgb_colors
43 {
44 
45  cv::Vec3d getRGBColor(const int color)
46  {
47  cv::Vec3d c;
48  switch (color % 146) {
49  case ALICEBLUE: c = cv::Vec3d(0.941, 0.973, 1); break;
50  case ANTIQUEWHITE: c = cv::Vec3d(0.98, 0.922, 0.843); break;
51  case AQUA: c = cv::Vec3d(0, 1, 1); break;
52  case AQUAMARINE: c = cv::Vec3d(0.498, 1, 0.831); break;
53  case AZURE: c = cv::Vec3d(0.941, 1, 1); break;
54  case BEIGE: c = cv::Vec3d(0.961, 0.961, 0.863); break;
55  case BISQUE: c = cv::Vec3d(1, 0.894, 0.769); break;
56  case BLACK: c = cv::Vec3d(0, 0, 0); break;
57  case BLANCHEDALMOND: c = cv::Vec3d(1, 0.922, 0.804); break;
58  case BLUE: c = cv::Vec3d(0, 0, 1); break;
59  case BLUEVIOLET: c = cv::Vec3d(0.541, 0.169, 0.886); break;
60  case BROWN: c = cv::Vec3d(0.647, 0.165, 0.165); break;
61  case BURLYWOOD: c = cv::Vec3d(0.871, 0.722, 0.529); break;
62  case CADETBLUE: c = cv::Vec3d(0.373, 0.62, 0.627); break;
63  case CHARTREUSE: c = cv::Vec3d(0.498, 1, 0); break;
64  case CHOCOLATE: c = cv::Vec3d(0.824, 0.412, 0.118); break;
65  case CORAL: c = cv::Vec3d(1, 0.498, 0.314); break;
66  case CORNFLOWERBLUE: c = cv::Vec3d(0.392, 0.584, 0.929); break;
67  case CORNSILK: c = cv::Vec3d(1, 0.973, 0.863); break;
68  case CRIMSON: c = cv::Vec3d(0.863, 0.0784, 0.235); break;
69  case CYAN: c = cv::Vec3d(0, 1, 1); break;
70  case DARKBLUE: c = cv::Vec3d(0, 0, 0.545); break;
71  case DARKCYAN: c = cv::Vec3d(0, 0.545, 0.545); break;
72  case DARKGOLDENROD: c = cv::Vec3d(0.722, 0.525, 0.0431); break;
73  case DARKGRAY: c = cv::Vec3d(0.663, 0.663, 0.663); break;
74  case DARKGREEN: c = cv::Vec3d(0, 0.392, 0); break;
75  case DARKGREY: c = cv::Vec3d(0.663, 0.663, 0.663); break;
76  case DARKKHAKI: c = cv::Vec3d(0.741, 0.718, 0.42); break;
77  case DARKMAGENTA: c = cv::Vec3d(0.545, 0, 0.545); break;
78  case DARKOLIVEGREEN: c = cv::Vec3d(0.333, 0.42, 0.184); break;
79  case DARKORANGE: c = cv::Vec3d(1, 0.549, 0); break;
80  case DARKORCHID: c = cv::Vec3d(0.6, 0.196, 0.8); break;
81  case DARKRED: c = cv::Vec3d(0.545, 0, 0); break;
82  case DARKSALMON: c = cv::Vec3d(0.914, 0.588, 0.478); break;
83  case DARKSEAGREEN: c = cv::Vec3d(0.561, 0.737, 0.561); break;
84  case DARKSLATEBLUE: c = cv::Vec3d(0.282, 0.239, 0.545); break;
85  case DARKSLATEGRAY: c = cv::Vec3d(0.184, 0.31, 0.31); break;
86  case DARKSLATEGREY: c = cv::Vec3d(0.184, 0.31, 0.31); break;
87  case DARKTURQUOISE: c = cv::Vec3d(0, 0.808, 0.82); break;
88  case DARKVIOLET: c = cv::Vec3d(0.58, 0, 0.827); break;
89  case DEEPPINK: c = cv::Vec3d(1, 0.0784, 0.576); break;
90  case DEEPSKYBLUE: c = cv::Vec3d(0, 0.749, 1); break;
91  case DIMGRAY: c = cv::Vec3d(0.412, 0.412, 0.412); break;
92  case DIMGREY: c = cv::Vec3d(0.412, 0.412, 0.412); break;
93  case DODGERBLUE: c = cv::Vec3d(0.118, 0.565, 1); break;
94  case FIREBRICK: c = cv::Vec3d(0.698, 0.133, 0.133); break;
95  case FLORALWHITE: c = cv::Vec3d(1, 0.98, 0.941); break;
96  case FORESTGREEN: c = cv::Vec3d(0.133, 0.545, 0.133); break;
97  case FUCHSIA: c = cv::Vec3d(1, 0, 1); break;
98  case GAINSBORO: c = cv::Vec3d(0.863, 0.863, 0.863); break;
99  case GHOSTWHITE: c = cv::Vec3d(0.973, 0.973, 1); break;
100  case GOLD: c = cv::Vec3d(1, 0.843, 0); break;
101  case GOLDENROD: c = cv::Vec3d(0.855, 0.647, 0.125); break;
102  case GRAY: c = cv::Vec3d(0.502, 0.502, 0.502); break;
103  case GREEN: c = cv::Vec3d(0, 0.502, 0); break;
104  case GREENYELLOW: c = cv::Vec3d(0.678, 1, 0.184); break;
105  case GREY: c = cv::Vec3d(0.502, 0.502, 0.502); break;
106  case HONEYDEW: c = cv::Vec3d(0.941, 1, 0.941); break;
107  case HOTPINK: c = cv::Vec3d(1, 0.412, 0.706); break;
108  case INDIANRED: c = cv::Vec3d(0.804, 0.361, 0.361); break;
109  case INDIGO: c = cv::Vec3d(0.294, 0, 0.51); break;
110  case IVORY: c = cv::Vec3d(1, 1, 0.941); break;
111  case KHAKI: c = cv::Vec3d(0.941, 0.902, 0.549); break;
112  case LAVENDER: c = cv::Vec3d(0.902, 0.902, 0.98); break;
113  case LAVENDERBLUSH: c = cv::Vec3d(1, 0.941, 0.961); break;
114  case LAWNGREEN: c = cv::Vec3d(0.486, 0.988, 0); break;
115  case LEMONCHIFFON: c = cv::Vec3d(1, 0.98, 0.804); break;
116  case LIGHTBLUE: c = cv::Vec3d(0.678, 0.847, 0.902); break;
117  case LIGHTCORAL: c = cv::Vec3d(0.941, 0.502, 0.502); break;
118  case LIGHTCYAN: c = cv::Vec3d(0.878, 1, 1); break;
119  case LIGHTGOLDENRODYELLOW: c = cv::Vec3d(0.98, 0.98, 0.824); break;
120  case LIGHTGRAY: c = cv::Vec3d(0.827, 0.827, 0.827); break;
121  case LIGHTGREEN: c = cv::Vec3d(0.565, 0.933, 0.565); break;
122  case LIGHTGREY: c = cv::Vec3d(0.827, 0.827, 0.827); break;
123  case LIGHTPINK: c = cv::Vec3d(1, 0.714, 0.757); break;
124  case LIGHTSALMON: c = cv::Vec3d(1, 0.627, 0.478); break;
125  case LIGHTSEAGREEN: c = cv::Vec3d(0.125, 0.698, 0.667); break;
126  case LIGHTSKYBLUE: c = cv::Vec3d(0.529, 0.808, 0.98); break;
127  case LIGHTSLATEGRAY: c = cv::Vec3d(0.467, 0.533, 0.6); break;
128  case LIGHTSLATEGREY: c = cv::Vec3d(0.467, 0.533, 0.6); break;
129  case LIGHTSTEELBLUE: c = cv::Vec3d(0.69, 0.769, 0.871); break;
130  case LIGHTYELLOW: c = cv::Vec3d(1, 1, 0.878); break;
131  case LIME: c = cv::Vec3d(0, 1, 0); break;
132  case LIMEGREEN: c = cv::Vec3d(0.196, 0.804, 0.196); break;
133  case LINEN: c = cv::Vec3d(0.98, 0.941, 0.902); break;
134  case MAGENTA: c = cv::Vec3d(1, 0, 1); break;
135  case MAROON: c = cv::Vec3d(0.502, 0, 0); break;
136  case MEDIUMAQUAMARINE: c = cv::Vec3d(0.4, 0.804, 0.667); break;
137  case MEDIUMBLUE: c = cv::Vec3d(0, 0, 0.804); break;
138  case MEDIUMORCHID: c = cv::Vec3d(0.729, 0.333, 0.827); break;
139  case MEDIUMPURPLE: c = cv::Vec3d(0.576, 0.439, 0.859); break;
140  case MEDIUMSEAGREEN: c = cv::Vec3d(0.235, 0.702, 0.443); break;
141  case MEDIUMSLATEBLUE: c = cv::Vec3d(0.482, 0.408, 0.933); break;
142  case MEDIUMSPRINGGREEN: c = cv::Vec3d(0, 0.98, 0.604); break;
143  case MEDIUMTURQUOISE: c = cv::Vec3d(0.282, 0.82, 0.8); break;
144  case MEDIUMVIOLETRED: c = cv::Vec3d(0.78, 0.0824, 0.522); break;
145  case MIDNIGHTBLUE: c = cv::Vec3d(0.098, 0.098, 0.439); break;
146  case MINTCREAM: c = cv::Vec3d(0.961, 1, 0.98); break;
147  case MISTYROSE: c = cv::Vec3d(1, 0.894, 0.882); break;
148  case MOCCASIN: c = cv::Vec3d(1, 0.894, 0.71); break;
149  case NAVAJOWHITE: c = cv::Vec3d(1, 0.871, 0.678); break;
150  case NAVY: c = cv::Vec3d(0, 0, 0.502); break;
151  case OLDLACE: c = cv::Vec3d(0.992, 0.961, 0.902); break;
152  case OLIVE: c = cv::Vec3d(0.502, 0.502, 0); break;
153  case OLIVEDRAB: c = cv::Vec3d(0.42, 0.557, 0.137); break;
154  case ORANGE: c = cv::Vec3d(1, 0.647, 0); break;
155  case ORANGERED: c = cv::Vec3d(1, 0.271, 0); break;
156  case ORCHID: c = cv::Vec3d(0.855, 0.439, 0.839); break;
157  case PALEGOLDENROD: c = cv::Vec3d(0.933, 0.91, 0.667); break;
158  case PALEGREEN: c = cv::Vec3d(0.596, 0.984, 0.596); break;
159  case PALEVIOLETRED: c = cv::Vec3d(0.686, 0.933, 0.933); break;
160  case PAPAYAWHIP: c = cv::Vec3d(1, 0.937, 0.835); break;
161  case PEACHPUFF: c = cv::Vec3d(1, 0.855, 0.725); break;
162  case PERU: c = cv::Vec3d(0.804, 0.522, 0.247); break;
163  case PINK: c = cv::Vec3d(1, 0.753, 0.796); break;
164  case PLUM: c = cv::Vec3d(0.867, 0.627, 0.867); break;
165  case POWDERBLUE: c = cv::Vec3d(0.69, 0.878, 0.902); break;
166  case PURPLE: c = cv::Vec3d(0.502, 0, 0.502); break;
167  case RED: c = cv::Vec3d(1, 0, 0); break;
168  case ROSYBROWN: c = cv::Vec3d(0.737, 0.561, 0.561); break;
169  case ROYALBLUE: c = cv::Vec3d(0.255, 0.412, 0.882); break;
170  case SADDLEBROWN: c = cv::Vec3d(0.545, 0.271, 0.0745); break;
171  case SALMON: c = cv::Vec3d(0.98, 0.502, 0.447); break;
172  case SANDYBROWN: c = cv::Vec3d(0.98, 0.643, 0.376); break;
173  case SEAGREEN: c = cv::Vec3d(0.18, 0.545, 0.341); break;
174  case SEASHELL: c = cv::Vec3d(1, 0.961, 0.933); break;
175  case SIENNA: c = cv::Vec3d(0.627, 0.322, 0.176); break;
176  case SILVER: c = cv::Vec3d(0.753, 0.753, 0.753); break;
177  case SKYBLUE: c = cv::Vec3d(0.529, 0.808, 0.922); break;
178  case SLATEBLUE: c = cv::Vec3d(0.416, 0.353, 0.804); break;
179  case SLATEGRAY: c = cv::Vec3d(0.439, 0.502, 0.565); break;
180  case SLATEGREY: c = cv::Vec3d(0.439, 0.502, 0.565); break;
181  case SNOW: c = cv::Vec3d(1, 0.98, 0.98); break;
182  case SPRINGGREEN: c = cv::Vec3d(0, 1, 0.498); break;
183  case STEELBLUE: c = cv::Vec3d(0.275, 0.51, 0.706); break;
184  case TAN: c = cv::Vec3d(0.824, 0.706, 0.549); break;
185  case TEAL: c = cv::Vec3d(0, 0.502, 0.502); break;
186  case THISTLE: c = cv::Vec3d(0.847, 0.749, 0.847); break;
187  case TOMATO: c = cv::Vec3d(1, 0.388, 0.278); break;
188  case TURQUOISE: c = cv::Vec3d(0.251, 0.878, 0.816); break;
189  case VIOLET: c = cv::Vec3d(0.933, 0.51, 0.933); break;
190  case WHEAT: c = cv::Vec3d(0.961, 0.871, 0.702); break;
191  case WHITE: c = cv::Vec3d(1, 1, 1); break;
192  case WHITESMOKE: c = cv::Vec3d(0.961, 0.961, 0.961); break;
193  case YELLOW: c = cv::Vec3d(1, 1, 0); break;
194  case YELLOWGREEN: c = cv::Vec3d(0.604, 0.804, 0.196); break;
195  } // switch
196  return c;
197  }
198 
199 } // namespace rgb_colors
200 
201 } // namespace cv_bridge
cv_bridge::rgb_colors::LIGHTCORAL
@ LIGHTCORAL
Definition: rgb_colors.h:217
cv_bridge::rgb_colors::MEDIUMSEAGREEN
@ MEDIUMSEAGREEN
Definition: rgb_colors.h:240
cv_bridge::rgb_colors::ORCHID
@ ORCHID
Definition: rgb_colors.h:256
cv_bridge::rgb_colors::LAVENDERBLUSH
@ LAVENDERBLUSH
Definition: rgb_colors.h:213
cv_bridge::rgb_colors::DARKTURQUOISE
@ DARKTURQUOISE
Definition: rgb_colors.h:187
cv_bridge::rgb_colors::DARKRED
@ DARKRED
Definition: rgb_colors.h:181
cv_bridge::rgb_colors::SANDYBROWN
@ SANDYBROWN
Definition: rgb_colors.h:272
cv_bridge::rgb_colors::DARKVIOLET
@ DARKVIOLET
Definition: rgb_colors.h:188
cv_bridge::rgb_colors::DARKORANGE
@ DARKORANGE
Definition: rgb_colors.h:179
cv_bridge::rgb_colors::WHEAT
@ WHEAT
Definition: rgb_colors.h:290
cv_bridge::rgb_colors::MEDIUMTURQUOISE
@ MEDIUMTURQUOISE
Definition: rgb_colors.h:243
cv_bridge::rgb_colors::CORNFLOWERBLUE
@ CORNFLOWERBLUE
Definition: rgb_colors.h:166
cv_bridge::rgb_colors::PLUM
@ PLUM
Definition: rgb_colors.h:264
cv_bridge::rgb_colors::SILVER
@ SILVER
Definition: rgb_colors.h:276
cv_bridge::rgb_colors::SLATEBLUE
@ SLATEBLUE
Definition: rgb_colors.h:278
cv_bridge::rgb_colors::TAN
@ TAN
Definition: rgb_colors.h:284
cv_bridge::rgb_colors::MEDIUMPURPLE
@ MEDIUMPURPLE
Definition: rgb_colors.h:239
cv_bridge::rgb_colors::ROYALBLUE
@ ROYALBLUE
Definition: rgb_colors.h:269
cv_bridge::rgb_colors::INDIGO
@ INDIGO
Definition: rgb_colors.h:209
cv_bridge::rgb_colors::YELLOW
@ YELLOW
Definition: rgb_colors.h:293
cv_bridge::rgb_colors::LIGHTSKYBLUE
@ LIGHTSKYBLUE
Definition: rgb_colors.h:226
cv_bridge::rgb_colors::WHITE
@ WHITE
Definition: rgb_colors.h:291
cv_bridge::rgb_colors::LIGHTGREEN
@ LIGHTGREEN
Definition: rgb_colors.h:221
cv_bridge::rgb_colors::SALMON
@ SALMON
Definition: rgb_colors.h:271
cv_bridge::rgb_colors::DARKGOLDENROD
@ DARKGOLDENROD
Definition: rgb_colors.h:172
cv_bridge::rgb_colors::GOLDENROD
@ GOLDENROD
Definition: rgb_colors.h:201
cv_bridge::rgb_colors::SNOW
@ SNOW
Definition: rgb_colors.h:281
cv_bridge::rgb_colors::LIGHTGRAY
@ LIGHTGRAY
Definition: rgb_colors.h:220
cv_bridge::rgb_colors::PINK
@ PINK
Definition: rgb_colors.h:263
cv_bridge::rgb_colors::DARKBLUE
@ DARKBLUE
Definition: rgb_colors.h:170
cv_bridge::rgb_colors::DARKGRAY
@ DARKGRAY
Definition: rgb_colors.h:173
cv_bridge::rgb_colors::SIENNA
@ SIENNA
Definition: rgb_colors.h:275
cv_bridge::rgb_colors::MEDIUMVIOLETRED
@ MEDIUMVIOLETRED
Definition: rgb_colors.h:244
cv_bridge::rgb_colors::GREENYELLOW
@ GREENYELLOW
Definition: rgb_colors.h:204
cv_bridge::rgb_colors::MEDIUMAQUAMARINE
@ MEDIUMAQUAMARINE
Definition: rgb_colors.h:236
cv_bridge::rgb_colors::LIME
@ LIME
Definition: rgb_colors.h:231
cv_bridge::rgb_colors::LIGHTSLATEGREY
@ LIGHTSLATEGREY
Definition: rgb_colors.h:228
cv_bridge::rgb_colors::INDIANRED
@ INDIANRED
Definition: rgb_colors.h:208
cv_bridge::rgb_colors::FIREBRICK
@ FIREBRICK
Definition: rgb_colors.h:194
cv_bridge::rgb_colors::OLIVE
@ OLIVE
Definition: rgb_colors.h:252
cv_bridge::rgb_colors::CRIMSON
@ CRIMSON
Definition: rgb_colors.h:168
cv_bridge::rgb_colors::TURQUOISE
@ TURQUOISE
Definition: rgb_colors.h:288
cv_bridge::rgb_colors::PAPAYAWHIP
@ PAPAYAWHIP
Definition: rgb_colors.h:260
cv_bridge::rgb_colors::FORESTGREEN
@ FORESTGREEN
Definition: rgb_colors.h:196
cv_bridge::rgb_colors::SPRINGGREEN
@ SPRINGGREEN
Definition: rgb_colors.h:282
cv_bridge::rgb_colors::MINTCREAM
@ MINTCREAM
Definition: rgb_colors.h:246
cv_bridge::rgb_colors::ANTIQUEWHITE
@ ANTIQUEWHITE
Definition: rgb_colors.h:150
cv_bridge::rgb_colors::SLATEGRAY
@ SLATEGRAY
Definition: rgb_colors.h:279
cv_bridge::rgb_colors::DEEPPINK
@ DEEPPINK
Definition: rgb_colors.h:189
cv_bridge::rgb_colors::LINEN
@ LINEN
Definition: rgb_colors.h:233
cv_bridge::rgb_colors::SLATEGREY
@ SLATEGREY
Definition: rgb_colors.h:280
cv_bridge::rgb_colors::DARKCYAN
@ DARKCYAN
Definition: rgb_colors.h:171
cv_bridge::rgb_colors::BLACK
@ BLACK
Definition: rgb_colors.h:156
cv_bridge::rgb_colors::CORNSILK
@ CORNSILK
Definition: rgb_colors.h:167
cv_bridge::rgb_colors::YELLOWGREEN
@ YELLOWGREEN
Definition: rgb_colors.h:294
cv_bridge::rgb_colors::THISTLE
@ THISTLE
Definition: rgb_colors.h:286
cv_bridge::rgb_colors::GHOSTWHITE
@ GHOSTWHITE
Definition: rgb_colors.h:199
cv_bridge::rgb_colors::MEDIUMBLUE
@ MEDIUMBLUE
Definition: rgb_colors.h:237
cv_bridge::rgb_colors::MEDIUMSLATEBLUE
@ MEDIUMSLATEBLUE
Definition: rgb_colors.h:241
cv_bridge::rgb_colors::LIGHTGREY
@ LIGHTGREY
Definition: rgb_colors.h:222
cv_bridge::rgb_colors::BEIGE
@ BEIGE
Definition: rgb_colors.h:154
cv_bridge::rgb_colors::BLANCHEDALMOND
@ BLANCHEDALMOND
Definition: rgb_colors.h:157
cv_bridge::rgb_colors::STEELBLUE
@ STEELBLUE
Definition: rgb_colors.h:283
cv_bridge::rgb_colors::DARKGREY
@ DARKGREY
Definition: rgb_colors.h:175
cv_bridge::rgb_colors::LIGHTSALMON
@ LIGHTSALMON
Definition: rgb_colors.h:224
cv_bridge::rgb_colors::TEAL
@ TEAL
Definition: rgb_colors.h:285
cv_bridge::rgb_colors::AQUAMARINE
@ AQUAMARINE
Definition: rgb_colors.h:152
cv_bridge::rgb_colors::BLUEVIOLET
@ BLUEVIOLET
Definition: rgb_colors.h:159
cv_bridge::rgb_colors::ROSYBROWN
@ ROSYBROWN
Definition: rgb_colors.h:268
cv_bridge::rgb_colors::BLUE
@ BLUE
Definition: rgb_colors.h:158
cv_bridge::rgb_colors::DARKSLATEGREY
@ DARKSLATEGREY
Definition: rgb_colors.h:186
cv_bridge::rgb_colors::CHOCOLATE
@ CHOCOLATE
Definition: rgb_colors.h:164
cv_bridge::rgb_colors::DIMGREY
@ DIMGREY
Definition: rgb_colors.h:192
cv_bridge::rgb_colors::IVORY
@ IVORY
Definition: rgb_colors.h:210
cv_bridge::rgb_colors::GREEN
@ GREEN
Definition: rgb_colors.h:203
cv_bridge::rgb_colors::DARKORCHID
@ DARKORCHID
Definition: rgb_colors.h:180
cv_bridge::rgb_colors::VIOLET
@ VIOLET
Definition: rgb_colors.h:289
cv_bridge::rgb_colors::SEASHELL
@ SEASHELL
Definition: rgb_colors.h:274
cv_bridge::rgb_colors::LIGHTYELLOW
@ LIGHTYELLOW
Definition: rgb_colors.h:230
cv_bridge::rgb_colors::MOCCASIN
@ MOCCASIN
Definition: rgb_colors.h:248
cv_bridge::rgb_colors::HONEYDEW
@ HONEYDEW
Definition: rgb_colors.h:206
cv_bridge::rgb_colors::CHARTREUSE
@ CHARTREUSE
Definition: rgb_colors.h:163
cv_bridge::rgb_colors::DEEPSKYBLUE
@ DEEPSKYBLUE
Definition: rgb_colors.h:190
cv_bridge::rgb_colors::NAVY
@ NAVY
Definition: rgb_colors.h:250
cv_bridge::rgb_colors::ALICEBLUE
@ ALICEBLUE
Definition: rgb_colors.h:149
cv_bridge::rgb_colors::HOTPINK
@ HOTPINK
Definition: rgb_colors.h:207
cv_bridge::rgb_colors::AZURE
@ AZURE
Definition: rgb_colors.h:153
cv_bridge::rgb_colors::OLIVEDRAB
@ OLIVEDRAB
Definition: rgb_colors.h:253
cv_bridge::rgb_colors::PURPLE
@ PURPLE
Definition: rgb_colors.h:266
cv_bridge::rgb_colors::ORANGERED
@ ORANGERED
Definition: rgb_colors.h:255
cv_bridge::rgb_colors::CORAL
@ CORAL
Definition: rgb_colors.h:165
cv_bridge::rgb_colors::PALEGOLDENROD
@ PALEGOLDENROD
Definition: rgb_colors.h:257
cv_bridge::rgb_colors::NAVAJOWHITE
@ NAVAJOWHITE
Definition: rgb_colors.h:249
cv_bridge::rgb_colors::DARKSALMON
@ DARKSALMON
Definition: rgb_colors.h:182
cv_bridge::rgb_colors::SADDLEBROWN
@ SADDLEBROWN
Definition: rgb_colors.h:270
cv_bridge::rgb_colors::LIGHTSEAGREEN
@ LIGHTSEAGREEN
Definition: rgb_colors.h:225
cv_bridge::rgb_colors::MEDIUMSPRINGGREEN
@ MEDIUMSPRINGGREEN
Definition: rgb_colors.h:242
cv_bridge::rgb_colors::LIGHTPINK
@ LIGHTPINK
Definition: rgb_colors.h:223
cv_bridge::rgb_colors::SEAGREEN
@ SEAGREEN
Definition: rgb_colors.h:273
cv_bridge::rgb_colors::PEACHPUFF
@ PEACHPUFF
Definition: rgb_colors.h:261
cv_bridge::rgb_colors::FLORALWHITE
@ FLORALWHITE
Definition: rgb_colors.h:195
cv_bridge::rgb_colors::PALEGREEN
@ PALEGREEN
Definition: rgb_colors.h:258
cv_bridge::rgb_colors::SKYBLUE
@ SKYBLUE
Definition: rgb_colors.h:277
cv_bridge::rgb_colors::getRGBColor
cv::Vec3d getRGBColor(const int color)
get rgb color with enum.
Definition: rgb_colors.cpp:109
cv_bridge::rgb_colors::POWDERBLUE
@ POWDERBLUE
Definition: rgb_colors.h:265
cv_bridge::rgb_colors::DARKSEAGREEN
@ DARKSEAGREEN
Definition: rgb_colors.h:183
cv_bridge::rgb_colors::CADETBLUE
@ CADETBLUE
Definition: rgb_colors.h:162
cv_bridge::rgb_colors::LIGHTSLATEGRAY
@ LIGHTSLATEGRAY
Definition: rgb_colors.h:227
cv_bridge::rgb_colors::LAVENDER
@ LAVENDER
Definition: rgb_colors.h:212
cv_bridge::rgb_colors::LIGHTSTEELBLUE
@ LIGHTSTEELBLUE
Definition: rgb_colors.h:229
cv_bridge::rgb_colors::DIMGRAY
@ DIMGRAY
Definition: rgb_colors.h:191
cv_bridge::rgb_colors::GAINSBORO
@ GAINSBORO
Definition: rgb_colors.h:198
cv_bridge::rgb_colors::LIGHTBLUE
@ LIGHTBLUE
Definition: rgb_colors.h:216
cv_bridge::rgb_colors::GRAY
@ GRAY
Definition: rgb_colors.h:202
cv_bridge::rgb_colors::DARKSLATEBLUE
@ DARKSLATEBLUE
Definition: rgb_colors.h:184
cv_bridge::rgb_colors::LAWNGREEN
@ LAWNGREEN
Definition: rgb_colors.h:214
cv_bridge::rgb_colors::BROWN
@ BROWN
Definition: rgb_colors.h:160
cv_bridge::rgb_colors::MEDIUMORCHID
@ MEDIUMORCHID
Definition: rgb_colors.h:238
cv_bridge::rgb_colors::ORANGE
@ ORANGE
Definition: rgb_colors.h:254
cv_bridge::rgb_colors::MAROON
@ MAROON
Definition: rgb_colors.h:235
cv_bridge::rgb_colors::LIGHTGOLDENRODYELLOW
@ LIGHTGOLDENRODYELLOW
Definition: rgb_colors.h:219
cv_bridge::rgb_colors::GOLD
@ GOLD
Definition: rgb_colors.h:200
cv_bridge::rgb_colors::LIMEGREEN
@ LIMEGREEN
Definition: rgb_colors.h:232
cv_bridge::rgb_colors::KHAKI
@ KHAKI
Definition: rgb_colors.h:211
cv_bridge
Definition: cv_bridge.h:48
cv_bridge::rgb_colors::BURLYWOOD
@ BURLYWOOD
Definition: rgb_colors.h:161
cv_bridge::rgb_colors::FUCHSIA
@ FUCHSIA
Definition: rgb_colors.h:197
cv_bridge::rgb_colors::LIGHTCYAN
@ LIGHTCYAN
Definition: rgb_colors.h:218
cv_bridge::rgb_colors::LEMONCHIFFON
@ LEMONCHIFFON
Definition: rgb_colors.h:215
cv_bridge::rgb_colors::DARKSLATEGRAY
@ DARKSLATEGRAY
Definition: rgb_colors.h:185
cv_bridge::rgb_colors::TOMATO
@ TOMATO
Definition: rgb_colors.h:287
cv_bridge::rgb_colors::GREY
@ GREY
Definition: rgb_colors.h:205
cv_bridge::rgb_colors::DARKOLIVEGREEN
@ DARKOLIVEGREEN
Definition: rgb_colors.h:178
cv_bridge::rgb_colors::DARKGREEN
@ DARKGREEN
Definition: rgb_colors.h:174
cv_bridge::rgb_colors::MISTYROSE
@ MISTYROSE
Definition: rgb_colors.h:247
cv_bridge::rgb_colors::DARKKHAKI
@ DARKKHAKI
Definition: rgb_colors.h:176
cv_bridge::rgb_colors::MIDNIGHTBLUE
@ MIDNIGHTBLUE
Definition: rgb_colors.h:245
cv_bridge::rgb_colors::PALEVIOLETRED
@ PALEVIOLETRED
Definition: rgb_colors.h:259
cv_bridge::rgb_colors::RED
@ RED
Definition: rgb_colors.h:267
cv_bridge::rgb_colors::WHITESMOKE
@ WHITESMOKE
Definition: rgb_colors.h:292
cv_bridge::rgb_colors::PERU
@ PERU
Definition: rgb_colors.h:262
cv_bridge::rgb_colors::BISQUE
@ BISQUE
Definition: rgb_colors.h:155
cv_bridge::rgb_colors::OLDLACE
@ OLDLACE
Definition: rgb_colors.h:251
cv_bridge::rgb_colors::DARKMAGENTA
@ DARKMAGENTA
Definition: rgb_colors.h:177
rgb_colors.h
cv_bridge::rgb_colors::CYAN
@ CYAN
Definition: rgb_colors.h:169
cv_bridge::rgb_colors::AQUA
@ AQUA
Definition: rgb_colors.h:151
cv_bridge::rgb_colors::MAGENTA
@ MAGENTA
Definition: rgb_colors.h:234
cv_bridge::rgb_colors::DODGERBLUE
@ DODGERBLUE
Definition: rgb_colors.h:193


cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Wed Mar 2 2022 01:12:36