@@ -70,14 +70,6 @@ namespace QCV
70
70
{
71
71
}
72
72
73
- SRgba ( cv::Vec3b f_other )
74
- {
75
- r = f_other[2 ];
76
- g = f_other[1 ];
77
- b = f_other[0 ];
78
- a = 0 ;
79
- }
80
-
81
73
SRgba ( cv::Vec4b f_other )
82
74
{
83
75
r = f_other[2 ];
@@ -86,11 +78,6 @@ namespace QCV
86
78
a = f_other[3 ];
87
79
}
88
80
89
- operator cv::Vec3b ()
90
- {
91
- return cv::Vec3b (b,g,r);
92
- }
93
-
94
81
operator cv::Vec4b ()
95
82
{
96
83
return cv::Vec4b (b,g,r,a);
@@ -176,13 +163,6 @@ namespace QCV
176
163
b = f_other[0 ];
177
164
}
178
165
179
- SRgb ( cv::Vec4b f_other )
180
- {
181
- r = f_other[2 ];
182
- g = f_other[1 ];
183
- b = f_other[0 ];
184
- }
185
-
186
166
SRgb ( SRgba other )
187
167
{
188
168
r = other.r ;
@@ -201,12 +181,7 @@ namespace QCV
201
181
operator cv::Vec3b ()
202
182
{
203
183
return cv::Vec3b (b,g,r);
204
- }
205
-
206
- operator cv::Vec4b ()
207
- {
208
- return cv::Vec4b (b,g,r,0 );
209
- }
184
+ }
210
185
211
186
bool operator == ( const SRgb & other ) const
212
187
{
@@ -302,13 +277,6 @@ namespace QCV
302
277
v = f_other[0 ];
303
278
}
304
279
305
- SHsv ( cv::Vec4b f_other )
306
- {
307
- h = f_other[2 ];
308
- s = f_other[1 ];
309
- v = f_other[0 ];
310
- }
311
-
312
280
const SHsv& operator = ( const SHsv & other )
313
281
{
314
282
h = other.h ;
@@ -326,11 +294,6 @@ namespace QCV
326
294
{
327
295
return cv::Vec3b (v,s,h);
328
296
}
329
-
330
- operator cv::Vec4b ()
331
- {
332
- return cv::Vec4b (v,s,h,0 );
333
- }
334
297
335
298
void set ( const float f_h_f,
336
299
const float f_s_f,
@@ -384,13 +347,6 @@ namespace QCV
384
347
l = f_other[0 ];
385
348
}
386
349
387
- SHsl ( cv::Vec4b f_other )
388
- {
389
- h = f_other[2 ];
390
- s = f_other[1 ];
391
- l = f_other[0 ];
392
- }
393
-
394
350
const SHsl& operator = ( const SHsl & other )
395
351
{
396
352
h = other.h ;
@@ -403,11 +359,6 @@ namespace QCV
403
359
{
404
360
return cv::Vec3b (l,s,h);
405
361
}
406
-
407
- operator cv::Vec4b ()
408
- {
409
- return cv::Vec4b (l,s,h,0 );
410
- }
411
362
412
363
bool operator == ( const SHsl & other ) const
413
364
{
0 commit comments