Gray-level pixel value, coded as an unsigned 8-bit integer. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EBW8 object. | |
| None | __init__ (self, int value) |
| Constructs a eVision.EBW8 object. | |
| None | __init__ (self, eVision.EBW8 other) |
Static Public Member Functions | |
| int | GetSize () |
| The number of bits in a pixel. | |
Properties | |
| Value = property(_Value__getter, _Value__setter) | |
| The value of the pixel. | |
Gray-level pixel value, coded as an unsigned 8-bit integer.
Remarks:
Every pixel is coded on 8 bits, allowing to represent 256 different values. The value 0 stands for black (background) and the value 255 stands for white (foreground). The 254 remaining values stand for shades of gray. This is sufficient for most applications. Most of the eVision gray-level operations apply to this pixel type.
License(s): None
| None eVision.EBW8.__init__ | ( | self | ) |
Constructs a eVision.EBW8 object.
| None eVision.EBW8.__init__ | ( | self, | |
| int | value ) |
Constructs a eVision.EBW8 object.
| value | The value of the pixel. |
| None eVision.EBW8.__init__ | ( | self, | |
| eVision.EBW8 | other ) |
| other | Other instance |
|
static |
The number of bits in a pixel.
|
static |
The value of the pixel.