9 template<
class T>
class HSV{
13 HSV(T
const&
h, T
const&
s, T
const&
v);
18 virtual T
hMax()
const = 0;
19 virtual T
hMin()
const = 0;
20 virtual T
sMax()
const = 0;
21 virtual T
sMin()
const = 0;
22 virtual T
vMax()
const = 0;
23 virtual T
vMin()
const = 0;
28 T
hsv(
size_t i)
const;
29 T
vsh(
size_t i)
const;
34 T
hsv(
size_t i, T
const& val);
35 T
vsh(
size_t i, T
const& val);
42 HSVf(
double const&
h,
double const&
s,
double const&
v);
52 template<
class RGB_T,
class HSV_T>
inline void RGB_to_HSV(
55 template<
class HSV_T,
class RGB_T>
inline void HSV_to_RGB(
58 template<
class YUV_T,
class HSV_T>
inline void YUV_to_HSV(
61 template<
class HSV_T,
class YUV_T>
inline void HSV_to_YUV(
64 template<
class HSL_T,
class HSV_T>
inline void HSL_to_HSV(
67 template<
class HSV_T,
class HSL_T>
inline void HSV_to_HSL(
void RGB_to_HSV(RGB< RGB_T > const &rgb, HSV< HSV_T > *hsv)
virtual T hMax() const =0
void HSV_to_YUV(HSV< HSV_T > const &hsv, YUV< YUV_T > *yuv)
virtual T sMin() const =0
virtual T vMax() const =0
void HSV_to_RGB(HSV< HSV_T > const &hsv, RGB< RGB_T > *rgb)
void HSL_to_HSV(HSL< HSL_T > const &hsl, HSV< HSV_T > *hsv)
void YUV_to_HSV(YUV< YUV_T > const &yuv, HSV< HSV_T > *hsv)
virtual T hMin() const =0
virtual T sMax() const =0
virtual T vMin() const =0
void HSV_to_HSL(HSV< HSV_T > const &hsv, HSL< HSL_T > *hsl)