Color pixel value coded as 3 unsigned 8-bit integers (red, green and blue components). More...
#include <eVision/Easy/EC24.h>
Public Member Functions | |
| EC24 () | |
| Constructs a EC24 object. | |
| EC24 (const eVision::ERGBColor &rgbColor) | |
| Constructs a EC24 object. | |
| EC24 (uint8_t c0, uint8_t c1, uint8_t c2) | |
| Constructs a EC24 object. | |
Static Public Member Functions | |
| static int32_t | GetSize () |
| The number of bits in a pixel. | |
Public Attributes | |
| uint8_t | C2 |
| The value of the third component of the pixel (blue channel). | |
| uint8_t | C1 |
| The value of the second component of the pixel (green channel). | |
| uint8_t | C0 |
| The value of the first component of the pixel (red channel). | |
Color pixel value coded as 3 unsigned 8-bit integers (red, green and blue components).
(RGB triplet, windows 24 bpp bitmap format) The pixel values are coded on 24 bits, providing 256 possible levels per color component. This way, RGB images can represent 16,777,216 different colors. This is sufficient for most applications. Most of the eVision color operations apply to this pixel type.
License(s): None
| eVision::EC24::EC24 | ( | ) |
Constructs a EC24 object.
| eVision::EC24::EC24 | ( | const eVision::ERGBColor & | rgbColor | ) |
| eVision::EC24::EC24 | ( | uint8_t | c0, |
| uint8_t | c1, | ||
| uint8_t | c2 ) |
Constructs a EC24 object.
| c0 | The value of the first component of the pixel (red channel). |
| c1 | The value of the second component of the pixel (green channel). |
| c2 | The value of the third component of the pixel (blue channel). |
|
static |
The number of bits in a pixel.
| uint8_t eVision::EC24::C0 |
The value of the first component of the pixel (red channel).
| uint8_t eVision::EC24::C1 |
The value of the second component of the pixel (green channel).
| uint8_t eVision::EC24::C2 |
The value of the third component of the pixel (blue channel).