eVision .NET API
Loading...
Searching...
No Matches
eVision.EBW16 Struct Reference

Gray-level pixel value, coded as an unsigned 16-bit integer. More...

Public Member Functions

 EBW16 (ushort value)
 Constructs a EBW16 object.

Public Attributes

ushort Value
 The value of the pixel.

Properties

static int Size [get]
 The number of bits in a pixel.

Detailed Description

Gray-level pixel value, coded as an unsigned 16-bit integer.

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

Constructor & Destructor Documentation

◆ EBW16()

eVision.EBW16.EBW16 ( ushort value)

Constructs a EBW16 object.

Parameters
valueThe value of the pixel.

Member Data Documentation

◆ Value

ushort eVision.EBW16.Value

The value of the pixel.

Property Documentation

◆ Size

int eVision.EBW16.Size
staticget

The number of bits in a pixel.