Class RGBColor
Inherits the following classes: Color
Public Functions
| Type | Name |
|---|---|
| RGBColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a=255) |
|
| RGBColor () |
|
| unsigned char | getAlpha () const |
| unsigned char | getBlue () const |
| unsigned char | getGreen () const |
| unsigned char | getRed () const |
| const unsigned char & | operator[] (size_t index) const |
| unsigned char & | operator[] (size_t index) |
| virtual CMYKColor | toCMYK () override const |
| virtual RGBColor | toRGB () override const |
| cv::Scalar | toScalar () const |
Public Functions inherited from Color
See Color
| Type | Name |
|---|---|
| Color (const Color &) = default |
|
| Color () = default |
|
| Color & | operator= (const Color &) = default |
| virtual CMYKColor | toCMYK () const = 0 |
| virtual RGBColor | toRGB () const = 0 |
| virtual | ~Color () = default |
Public Static Functions
| Type | Name |
|---|---|
| RGBColor | FromCMYK (const CMYKColor & cmyk) |
Public Functions Documentation
function RGBColor [1/2]
function RGBColor [2/2]
function getAlpha
function getBlue
function getGreen
function getRed
function operator[]
function operator[]
function toCMYK
Implements Color::toCMYK
function toRGB
Implements Color::toRGB
function toScalar
Public Static Functions Documentation
function FromCMYK
Friends Documentation
friend operator<<
The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/isom/colors.hpp