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

Color pixel value coded as 3 unsigned 8-bit integers (red, green and blue components). More...

Public Member Functions

 EC24 (eVision.ERGBColor rgbColor)
 Constructs a EC24 object.
 EC24 (byte c0, byte c1, byte c2)
 Constructs a EC24 object.

Public Attributes

byte C2
 The value of the third component of the pixel (blue channel).
byte C1
 The value of the second component of the pixel (green channel).
byte C0
 The value of the first component of the pixel (red channel).

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ EC24() [1/2]

eVision.EC24.EC24 ( eVision.ERGBColor rgbColor)

Constructs a EC24 object.

Parameters
rgbColorThe value of the pixel as an ERGBColor.

◆ EC24() [2/2]

eVision.EC24.EC24 ( byte c0,
byte c1,
byte c2 )

Constructs a EC24 object.

Parameters
c0The value of the first component of the pixel (red channel).
c1The value of the second component of the pixel (green channel).
c2The value of the third component of the pixel (blue channel).

Member Data Documentation

◆ C0

byte eVision.EC24.C0

The value of the first component of the pixel (red channel).

◆ C1

byte eVision.EC24.C1

The value of the second component of the pixel (green channel).

◆ C2

byte eVision.EC24.C2

The value of the third component of the pixel (blue channel).

Property Documentation

◆ Size

int eVision.EC24.Size
staticget

The number of bits in a pixel.