eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EC48 Struct Reference

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

#include <eVision/Easy/EC48.h>

Public Member Functions

 EC48 ()
 Constructs a EC48 object.
 EC48 (uint16_t c0, uint16_t c1, uint16_t c2)
 Constructs a EC48 object.

Static Public Member Functions

static int32_t GetSize ()
 The size of a pixel.

Public Attributes

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

Detailed Description

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

License(s): None

Constructor & Destructor Documentation

◆ EC48() [1/2]

eVision::EC48::EC48 ( )

Constructs a EC48 object.

◆ EC48() [2/2]

eVision::EC48::EC48 ( uint16_t c0,
uint16_t c1,
uint16_t c2 )

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

Member Function Documentation

◆ GetSize()

int32_t eVision::EC48::GetSize ( )
static

The size of a pixel.

Member Data Documentation

◆ C0

uint16_t eVision::EC48::C0

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

◆ C1

uint16_t eVision::EC48::C1

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

◆ C2

uint16_t eVision::EC48::C2

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