Fawkes API
Fawkes Development Version
|
Color mapping class. More...
#include <>>
Public Member Functions | |
~ColorObjectMap () | |
Destructor. More... | |
const color_t & | get (hint_t hint) const |
Inline color_t reference getter. More... | |
const hint_t | get (color_t color) const |
Inline hint_t(ROI) reference getter. More... | |
Static Public Member Functions | |
static const ColorObjectMap & | get_instance () |
ColorObjectMap getter. More... | |
static YUV_t | get_color (color_t color) |
YUV_t getter. More... | |
Color mapping class.
This class defines a mapping between regions of interest and
Definition at line 38 of file color_object_map.h.
firevision::ColorObjectMap::~ColorObjectMap | ( | ) |
Destructor.
Definition at line 95 of file color_object_map.cpp.
|
inline |
Inline color_t reference getter.
hint | the ROI of interest |
Definition at line 45 of file color_object_map.h.
|
inline |
Inline hint_t(ROI) reference getter.
color | value of interest |
Definition at line 47 of file color_object_map.h.
|
static |
YUV_t getter.
color | a color_t value ( |
Definition at line 103 of file color_object_map.cpp.
References firevision::YUV_t_struct::black(), firevision::YUV_t_struct::blue(), firevision::YUV_t_struct::cyan(), firevision::YUV_t_struct::gray(), firevision::YUV_t_struct::green(), firevision::YUV_t_struct::magenta(), firevision::YUV_t_struct::orange(), firevision::YUV_t_struct::red(), firevision::YUV_t_struct::white(), and firevision::YUV_t_struct::yellow().
Referenced by ColorTrainWidget::draw_segmentation_result(), get_instance(), firevision::Colormap::to_image(), firevision::ColorModel::uv_to_image(), and firevision::FilterROIDraw::~FilterROIDraw().
|
inlinestatic |
ColorObjectMap getter.
Definition at line 42 of file color_object_map.h.
References get_color().
Referenced by firevision::BayesHistosToLut::calculateLutAllColors(), and firevision::BayesHistosToLut::calculateLutValues().