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. | |
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] |
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
| unsigned char YUV_t_struct::U |
U component.
Definition at line 53 of file yuv.h.
Referenced by Drawer::color_point(), Drawer::draw_circle(), FieldDrawer::draw_field(), Drawer::draw_line(), Drawer::draw_point(), Drawer::draw_rectangle(), Drawer::set_color(), Colormap::to_image(), ColorModel::uv_to_image(), and YUV_t_struct().
| unsigned char YUV_t_struct::V |
V component.
Definition at line 54 of file yuv.h.
Referenced by Drawer::color_point(), Drawer::draw_circle(), FieldDrawer::draw_field(), Drawer::draw_line(), Drawer::draw_point(), Drawer::draw_rectangle(), Drawer::set_color(), Colormap::to_image(), ColorModel::uv_to_image(), and YUV_t_struct().
| unsigned char YUV_t_struct::Y |
Y component.
Definition at line 52 of file yuv.h.
Referenced by Drawer::color_point(), Drawer::draw_circle(), FieldDrawer::draw_field(), Drawer::draw_line(), Drawer::draw_point(), Drawer::draw_rectangle(), Drawer::set_color(), Colormap::to_image(), ColorModel::uv_to_image(), and YUV_t_struct().
The documentation for this struct was generated from the following file:
- src/firevision/fvutils/color/yuv.h

