Color in HSV color space.
More...
#include <image/Color.h>
Color in HSV color space.
◆ HSV() [1/2]
HSV |
( |
float |
hue, |
|
|
float |
saturation, |
|
|
float |
value |
|
) |
| |
|
inline |
Constructs color in HSV color space.
H,S and V: range from 0.0 to 1.0
◆ HSV() [2/2]
Default constructor initializes H,S, and V to 0.0.
◆ reflect()
void reflect |
( |
Reflector & |
r | ) |
|
|
inline |
◆ toRGB()
Converts the HSV color to RGB.
If the HSV components are within their valid ranges, the resulting RGB color components will be within their valid ranges, too.
Implements ColorBase.
◆ operator cv::Scalar()
operator cv::Scalar |
( |
| ) |
const |
|
inlinevirtualinherited |
converts color to cv::Scalar Converts color to cv::Scalar by first converting to RGB and then creating a 4 channel cv::Scalar(B,G,R,255);
cast operator to cv::Scalar converts color to OpenCV BGRA format by scaling range to 0..255 and setting alpha channel to 255
Reimplemented in RGBA.
◆ getClass()
Class const& getClass |
( |
| ) |
const |
|
inlineinherited |
◆ CLASS()
◆ internalGetClass()
virtual Class const& internalGetClass |
( |
| ) |
const |
|
protectedpure virtualinherited |
The documentation for this class was generated from the following file: