
#include <Image/PixelsTypes.H>
Inheritance diagram for PixH2SV2< T >:


This is the HSV color space normalized and de-modulized into components H1 H2 S and V. This is used since the modulus nature of hue makes it hard to deal with in many types of computation. PixH2SV1 is a very linear transforamtion. PixH2SV2 is linear but is B/Y R/G opponent in nature PixH2SV3 is as bio as this can get but is less linear
Definition at line 1130 of file PixelsTypes.H.
Public Member Functions | |
| PixH2SV2 () | |
| ~PixH2SV2 () | |
| PixH2SV2 (const T val) | |
| template<class T2> | |
| PixH2SV2 (const PixRGB< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixHSV< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixYIQ< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixHSL< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixH2SV1< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixH2SV2< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixH2SV3< T2 > &A) | |
| template<class T2> | |
| PixH2SV2 (const PixHyper< T2, 4 > &A) | |
| PixH2SV2 (const PixH2SV2< T > &pix) | |
| construct pixel from another. Defined here for tech reasons | |
| PixH2SV2 (const T H1val, const T H2val, const T Sval, const T Vval) | |
| Construct an RGB pixel with given values red, green, blue. | |
| template<class T2, class T3, class T4, class T5> | |
| PixH2SV2 (const T2 H1val, const T3 H2val, const T4 Sval, const T5 Vval) | |
| Construct from given values, clamping & converting as needed. | |
| void | getH2SV2 (T &h1, T &h2, T &s, T &v) const |
| T | H1 () const |
| Access H1 channel. | |
| T | H2 () const |
| Access H2 channel. | |
| T | S () const |
| Access S channel. | |
| T | V () const |
| Access V channel. | |
| template<class T2> | |
| void | setH1 (const T2 H1) |
| Set H1 channel value, clamping & converting as necessary. | |
| template<class T2> | |
| void | setH2 (const T2 H2) |
| Set H2 channel value, clamping & converting as necessary. | |
| template<class T2> | |
| void | setS (const T2 S) |
| Set S channel value, clamping & converting as necessary. | |
| template<class T2> | |
| void | setV (const T2 V) |
| Set V channel value, clamping & converting as necessary. | |
Static Public Attributes | |
| static const enum PixType | pType = PixTypeH2SV2 |
| static const size_t | myDim = 4 |
|
||||||||||
|
construct pixel from another. Defined here for tech reasons
Definition at line 3237 of file PixelsTypes.H. |
|
||||||||||||||||||||||||
|
Construct an RGB pixel with given values red, green, blue.
Definition at line 3251 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
||||||||||||||||||||||||||||
|
Construct from given values, clamping & converting as needed.
Definition at line 3258 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
|||||||||
|
Access H1 channel.
Definition at line 3268 of file PixelsTypes.H. References Pixels< T, 4 >::p. Referenced by getRGBY(), main(), and Pixels_xx_conversions_xx_6(). |
|
|||||||||
|
Access H2 channel.
Definition at line 3275 of file PixelsTypes.H. References Pixels< T, 4 >::p. Referenced by getRGBY(), main(), and Pixels_xx_conversions_xx_6(). |
|
|||||||||
|
Access S channel.
Definition at line 3282 of file PixelsTypes.H. References Pixels< T, 4 >::p. Referenced by getRGBY(), main(), and Pixels_xx_conversions_xx_6(). |
|
||||||||||||||
|
Set H1 channel value, clamping & converting as necessary.
Definition at line 3296 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
||||||||||||||
|
Set H2 channel value, clamping & converting as necessary.
Definition at line 3302 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
||||||||||||||
|
Set S channel value, clamping & converting as necessary.
Definition at line 3308 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
||||||||||||||
|
Set V channel value, clamping & converting as necessary.
Definition at line 3314 of file PixelsTypes.H. References Pixels< T, 4 >::p. |
|
|||||||||
|
Access V channel.
Definition at line 3289 of file PixelsTypes.H. References Pixels< T, 4 >::p. Referenced by getRGBY(), main(), and Pixels_xx_conversions_xx_6(). |
1.4.4