YUV_t_struct Struct Reference

YUV pixel. More...

#include <yuv.h>

List of all members.


Public Member Functions

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

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.
unsigned char U
 U component.
unsigned char V
 V component.

Detailed Description

YUV pixel.

Definition at line 51 of file yuv.h.


Constructor & Destructor Documentation

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

Standard constructor.

Parameters:
y Y component
u U component
v V component

Definition at line 61 of file yuv.h.

References U, V, and Y.

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


Member Function Documentation

static YUV_t_struct YUV_t_struct::black (  )  [inline, static]

Returns:
black color

Definition at line 69 of file yuv.h.

References YUV_t_struct().

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

static YUV_t_struct YUV_t_struct::blue (  )  [inline, static]

Returns:
blue color

Definition at line 76 of file yuv.h.

References YUV_t_struct().

Referenced by ColorObjectMap::get_color().

static YUV_t_struct YUV_t_struct::cyan (  )  [inline, static]

Returns:
cyan color

Definition at line 71 of file yuv.h.

References YUV_t_struct().

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

static YUV_t_struct YUV_t_struct::gray (  )  [inline, static]

Returns:
gray color

Definition at line 73 of file yuv.h.

References YUV_t_struct().

Referenced by ColorObjectMap::get_color().

static YUV_t_struct YUV_t_struct::green (  )  [inline, static]

Returns:
green color

Definition at line 70 of file yuv.h.

References YUV_t_struct().

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

static YUV_t_struct YUV_t_struct::magenta (  )  [inline, static]

Returns:
magenta color

Definition at line 72 of file yuv.h.

References YUV_t_struct().

Referenced by ColorObjectMap::get_color().

static YUV_t_struct YUV_t_struct::orange (  )  [inline, static]

Returns:
orange color

Definition at line 74 of file yuv.h.

References YUV_t_struct().

Referenced by ColorObjectMap::get_color().

static YUV_t_struct YUV_t_struct::red (  )  [inline, static]

Returns:
red color

Definition at line 77 of file yuv.h.

References YUV_t_struct().

Referenced by ColorObjectMap::get_color().

static YUV_t_struct YUV_t_struct::white (  )  [inline, static]

Returns:
white color

Definition at line 68 of file yuv.h.

References YUV_t_struct().

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

static YUV_t_struct YUV_t_struct::yellow (  )  [inline, static]

Returns:
yellow color

Definition at line 75 of file yuv.h.

References YUV_t_struct().

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


Member Data Documentation


The documentation for this struct was generated from the following file:
  • src/firevision/fvutils/color/yuv.h