Fawkes API  Fawkes Development Version
firevision::YUV_t_struct Struct Reference

YUV pixel. More...

#include <yuv.h>

Public Member Functions

 YUV_t_struct (unsigned char y=127, unsigned char u=127, unsigned char v=127)
 Standard constructor. More...
 

Static Public Member Functions

static YUV_t_struct white ()
 
static YUV_t_struct black ()
 
static YUV_t_struct green ()
 
static YUV_t_struct cyan ()
 
static YUV_t_struct magenta ()
 
static YUV_t_struct gray ()
 
static YUV_t_struct orange ()
 
static YUV_t_struct yellow ()
 
static YUV_t_struct blue ()
 
static YUV_t_struct red ()
 

Public Attributes

unsigned char Y
 Y component. More...
 
unsigned char U
 U component. More...
 
unsigned char V
 V component. More...
 

Detailed Description

YUV pixel.

Definition at line 59 of file yuv.h.

Constructor & Destructor Documentation

◆ YUV_t_struct()

firevision::YUV_t_struct::YUV_t_struct ( unsigned char  y = 127,
unsigned char  u = 127,
unsigned char  v = 127 
)
inline

Standard constructor.

Parameters
yY component
uU component
vV component

Definition at line 69 of file yuv.h.

Referenced by black(), blue(), cyan(), gray(), green(), magenta(), orange(), red(), white(), and yellow().

Member Function Documentation

◆ black()

static YUV_t_struct firevision::YUV_t_struct::black ( )
inlinestatic

◆ blue()

static YUV_t_struct firevision::YUV_t_struct::blue ( )
inlinestatic
Returns
blue color

Definition at line 84 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::ColorObjectMap::get_color().

◆ cyan()

static YUV_t_struct firevision::YUV_t_struct::cyan ( )
inlinestatic
Returns
cyan color

Definition at line 79 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

◆ gray()

static YUV_t_struct firevision::YUV_t_struct::gray ( )
inlinestatic
Returns
gray color

Definition at line 81 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::ColorObjectMap::get_color().

◆ green()

static YUV_t_struct firevision::YUV_t_struct::green ( )
inlinestatic
Returns
green color

Definition at line 78 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

◆ magenta()

static YUV_t_struct firevision::YUV_t_struct::magenta ( )
inlinestatic
Returns
magenta color

Definition at line 80 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::ColorObjectMap::get_color().

◆ orange()

static YUV_t_struct firevision::YUV_t_struct::orange ( )
inlinestatic
Returns
orange color

Definition at line 82 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::ColorObjectMap::get_color().

◆ red()

static YUV_t_struct firevision::YUV_t_struct::red ( )
inlinestatic
Returns
red color

Definition at line 85 of file yuv.h.

References U, V, Y, and YUV_t_struct().

Referenced by firevision::ColorObjectMap::get_color().

◆ white()

static YUV_t_struct firevision::YUV_t_struct::white ( )
inlinestatic
Returns
white color

Definition at line 76 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::Drawer::Drawer(), firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

◆ yellow()

static YUV_t_struct firevision::YUV_t_struct::yellow ( )
inlinestatic
Returns
yellow color

Definition at line 83 of file yuv.h.

References YUV_t_struct().

Referenced by firevision::FieldDrawer::FieldDrawer(), and firevision::ColorObjectMap::get_color().

Member Data Documentation

◆ U

◆ V

◆ Y


The documentation for this struct was generated from the following file: