eVision Python API
Loading...
Searching...
No Matches
eVision.EC48 Class Reference

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

Public Member Functions

None __init__ (self)
 Constructs a eVision.EC48 object.
None __init__ (self, int c0, int c1, int c2)
 Constructs a eVision.EC48 object.
None __init__ (self, int C2)
None __init__ (self, int C2, int C1)
None __init__ (self, eVision.EC48 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 size of a pixel.

Detailed Description

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

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/5]

None eVision.EC48.__init__ ( self)

Constructs a eVision.EC48 object.

◆ __init__() [2/5]

None eVision.EC48.__init__ ( self,
int c0,
int c1,
int c2 )

Constructs a eVision.EC48 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).

◆ __init__() [3/5]

None eVision.EC48.__init__ ( self,
int C2 )
Parameters
C2The value of the third component of the pixel (blue channel).

◆ __init__() [4/5]

None eVision.EC48.__init__ ( self,
int C2,
int C1 )
Parameters
C2The value of the third component of the pixel (blue channel).
C1The value of the second component of the pixel (green channel).

◆ __init__() [5/5]

None eVision.EC48.__init__ ( self,
eVision.EC48 other )
Parameters
otherOther instance

Member Function Documentation

◆ C0() [1/2]

int eVision.EC48.C0 ( self)

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

◆ C0() [2/2]

eVision.EC48.C0 ( self,
int value )

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

◆ C1() [1/2]

int eVision.EC48.C1 ( self)

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

◆ C1() [2/2]

eVision.EC48.C1 ( self,
int value )

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

◆ C2() [1/2]

int eVision.EC48.C2 ( self)

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

◆ C2() [2/2]

eVision.EC48.C2 ( self,
int value )

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

◆ GetSize()

int eVision.EC48.GetSize ( )
static

The size of a pixel.