Color pixel value coded as 3 unsigned 8-bit integers (red, green and blue components). More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EC24 object. | |
| None | __init__ (self, eVision.ERGBColor rgbColor) |
| Constructs a eVision.EC24 object. | |
| None | __init__ (self, int c0, int c1, int c2) |
| Constructs a eVision.EC24 object. | |
| None | __init__ (self, int C2) |
| None | __init__ (self, int C2, int C1) |
| None | __init__ (self, eVision.EC24 other) |
| int | C2 (self) |
| The value of the third component of the pixel (blue channel). | |
| C2 (self, int value) | |
| The value of the third component of the pixel (blue channel). | |
| int | C1 (self) |
| The value of the second component of the pixel (green channel). | |
| C1 (self, int value) | |
| The value of the second component of the pixel (green channel). | |
| int | C0 (self) |
| The value of the first component of the pixel (red channel). | |
| C0 (self, int value) | |
| The value of the first component of the pixel (red channel). | |
Static Public Member Functions | |
| int | GetSize () |
| The number of bits in a pixel. | |
Color pixel value coded as 3 unsigned 8-bit integers (red, green and blue components).
Remarks:
(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
| None eVision.EC24.__init__ | ( | self | ) |
Constructs a eVision.EC24 object.
| None eVision.EC24.__init__ | ( | self, | |
| eVision.ERGBColor | rgbColor ) |
Constructs a eVision.EC24 object.
| rgbColor | The value of the pixel as an eVision.ERGBColor. |
| None eVision.EC24.__init__ | ( | self, | |
| int | c0, | ||
| int | c1, | ||
| int | c2 ) |
Constructs a eVision.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). |
| None eVision.EC24.__init__ | ( | self, | |
| int | C2 ) |
| C2 | The value of the third component of the pixel (blue channel). |
| None eVision.EC24.__init__ | ( | self, | |
| int | C2, | ||
| int | C1 ) |
| C2 | The value of the third component of the pixel (blue channel). |
| C1 | The value of the second component of the pixel (green channel). |
| None eVision.EC24.__init__ | ( | self, | |
| eVision.EC24 | other ) |
| other | Other instance |
| int eVision.EC24.C0 | ( | self | ) |
The value of the first component of the pixel (red channel).
| eVision.EC24.C0 | ( | self, | |
| int | value ) |
The value of the first component of the pixel (red channel).
| int eVision.EC24.C1 | ( | self | ) |
The value of the second component of the pixel (green channel).
| eVision.EC24.C1 | ( | self, | |
| int | value ) |
The value of the second component of the pixel (green channel).
| int eVision.EC24.C2 | ( | self | ) |
The value of the third component of the pixel (blue channel).
| eVision.EC24.C2 | ( | self, | |
| int | value ) |
The value of the third component of the pixel (blue channel).
|
static |
The number of bits in a pixel.