JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches

Helper YUYV colors.

Here we assume little endian (so the chroma is the high byte, luminance is low byte) and we assume that we will write the same value to the YU and the YV shorts. This means that all the colors are on the green to magenta (purple) axis, with some limited opportunity for variations using the luminance value.

Variables

unsigned short constexpr Black = 0x8000
 YUYV color value.
 
unsigned short constexpr DarkGrey = 0x8050
 YUYV color value.
 
unsigned short constexpr MedGrey = 0x8080
 YUYV color value.
 
unsigned short constexpr LightGrey = 0x80a0
 YUYV color value.
 
unsigned short constexpr White = 0x80ff
 YUYV color value.
 
unsigned short constexpr DarkGreen = 0x0000
 YUYV color value.
 
unsigned short constexpr MedGreen = 0x0040
 YUYV color value.
 
unsigned short constexpr LightGreen = 0x00ff
 YUYV color value.
 
unsigned short constexpr DarkTeal = 0x7070
 YUYV color value.
 
unsigned short constexpr MedTeal = 0x7090
 YUYV color value.
 
unsigned short constexpr LightTeal = 0x70b0
 YUYV color value.
 
unsigned short constexpr DarkPurple = 0xa030
 YUYV color value.
 
unsigned short constexpr MedPurple = 0xa050
 YUYV color value.
 
unsigned short constexpr LightPurple = 0xa080
 YUYV color value.
 
unsigned short constexpr DarkPink = 0xff00
 YUYV color value.
 
unsigned short constexpr MedPink = 0xff80
 YUYV color value.
 
unsigned short constexpr LightPink = 0xffff
 YUYV color value.
 

Variable Documentation

◆ Black

unsigned short constexpr jevois::yuyv::Black = 0x8000
constexpr

YUYV color value.

Definition at line 55 of file RawImage.H.

Referenced by jevois::RawImage::clear().

◆ DarkGreen

unsigned short constexpr jevois::yuyv::DarkGreen = 0x0000
constexpr

YUYV color value.

Definition at line 61 of file RawImage.H.

◆ DarkGrey

unsigned short constexpr jevois::yuyv::DarkGrey = 0x8050
constexpr

YUYV color value.

Definition at line 56 of file RawImage.H.

◆ DarkPink

unsigned short constexpr jevois::yuyv::DarkPink = 0xff00
constexpr

YUYV color value.

Definition at line 73 of file RawImage.H.

◆ DarkPurple

unsigned short constexpr jevois::yuyv::DarkPurple = 0xa030
constexpr

YUYV color value.

Definition at line 69 of file RawImage.H.

◆ DarkTeal

unsigned short constexpr jevois::yuyv::DarkTeal = 0x7070
constexpr

YUYV color value.

Definition at line 65 of file RawImage.H.

◆ LightGreen

unsigned short constexpr jevois::yuyv::LightGreen = 0x00ff
constexpr

◆ LightGrey

unsigned short constexpr jevois::yuyv::LightGrey = 0x80a0
constexpr

YUYV color value.

Definition at line 58 of file RawImage.H.

◆ LightPink

unsigned short constexpr jevois::yuyv::LightPink = 0xffff
constexpr

YUYV color value.

Definition at line 75 of file RawImage.H.

◆ LightPurple

unsigned short constexpr jevois::yuyv::LightPurple = 0xa080
constexpr

YUYV color value.

Definition at line 71 of file RawImage.H.

◆ LightTeal

unsigned short constexpr jevois::yuyv::LightTeal = 0x70b0
constexpr

YUYV color value.

Definition at line 67 of file RawImage.H.

◆ MedGreen

unsigned short constexpr jevois::yuyv::MedGreen = 0x0040
constexpr

YUYV color value.

Definition at line 62 of file RawImage.H.

◆ MedGrey

unsigned short constexpr jevois::yuyv::MedGrey = 0x8080
constexpr

YUYV color value.

Definition at line 57 of file RawImage.H.

Referenced by jevois::dnn::PreProcessor::sendreport().

◆ MedPink

unsigned short constexpr jevois::yuyv::MedPink = 0xff80
constexpr

YUYV color value.

Definition at line 74 of file RawImage.H.

◆ MedPurple

unsigned short constexpr jevois::yuyv::MedPurple = 0xa050
constexpr

YUYV color value.

Definition at line 70 of file RawImage.H.

◆ MedTeal

unsigned short constexpr jevois::yuyv::MedTeal = 0x7090
constexpr

YUYV color value.

Definition at line 66 of file RawImage.H.

◆ White

unsigned short constexpr jevois::yuyv::White = 0x80ff
constexpr