Gray-level pixel value, coded as an unsigned 16-bit integer. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EBW16 object. | |
| None | __init__ (self, int value) |
| Constructs a eVision.EBW16 object. | |
| None | __init__ (self, eVision.EBW16 other) |
| int | Value (self) |
| The value of the pixel. | |
| Value (self, int value) | |
| The value of the pixel. | |
Static Public Member Functions | |
| int | GetSize () |
| The number of bits in a pixel. | |
Gray-level pixel value, coded as an unsigned 16-bit integer.
Remarks:
High-quality cameras or scanners are able to digitize on 10 or 12 bits. Sometimes too, to avoid numerical truncation errors, intermediate processing results require more than 8 bits of storage. In such situations, 8 bits gray-level images are no longer sufficient. 16 bits gray-level images are similar to 8 bits ones, but each pixel is, in this case, coded on 16 bits, which effect is to increase the levels of gray to 65,536. It is not possible to show the difference between a gray-level image quantized on 16 bits rather than 8. Under Windows, no display device is able to display 16-bit gray levels. Windows doesn't allow you to display more than 256 gray levels.
License(s): None
| None eVision.EBW16.__init__ | ( | self | ) |
Constructs a eVision.EBW16 object.
| None eVision.EBW16.__init__ | ( | self, | |
| int | value ) |
Constructs a eVision.EBW16 object.
| value | The value of the pixel. |
| None eVision.EBW16.__init__ | ( | self, | |
| eVision.EBW16 | other ) |
| other | Other instance |
|
static |
The number of bits in a pixel.
| int eVision.EBW16.Value | ( | self | ) |
The value of the pixel.
| eVision.EBW16.Value | ( | self, | |
| int | value ) |
The value of the pixel.