Fawkes API Fawkes Development Version
|
Color mapping class. More...
#include <>>
Public Member Functions | |
~ColorObjectMap () | |
Destructor. | |
const color_t & | get (hint_t hint) const |
Inline color_t reference getter. | |
const hint_t | get (color_t color) const |
Inline hint_t(ROI) reference getter. | |
Static Public Member Functions | |
static const ColorObjectMap & | get_instance () |
ColorObjectMap getter. | |
static YUV_t | get_color (color_t color) |
YUV_t getter. |
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.
const color_t & firevision::ColorObjectMap::get | ( | hint_t | hint | ) | const [inline] |
Inline color_t reference getter.
hint | the ROI of interest |
Definition at line 45 of file color_object_map.h.
Referenced by firevision::SimpleColorClassifier::classify().
const hint_t firevision::ColorObjectMap::get | ( | color_t | color | ) | const [inline] |
Inline hint_t(ROI) reference getter.
color | value of interest |
Definition at line 47 of file color_object_map.h.
YUV_t firevision::ColorObjectMap::get_color | ( | color_t | color | ) | [static] |
YUV_t getter.
color | a color_t value ( |
Definition at line 103 of file color_object_map.cpp.
Referenced by ColorTrainWidget::draw_segmentation_result().
static const ColorObjectMap & firevision::ColorObjectMap::get_instance | ( | ) | [inline, static] |
ColorObjectMap getter.
Definition at line 42 of file color_object_map.h.
Referenced by firevision::SimpleColorClassifier::add_hint(), firevision::BayesHistosToLut::calculateLutAllColors(), firevision::BayesHistosToLut::calculateLutValues(), firevision::SimpleColorClassifier::classify(), firevision::SimpleColorClassifier::get_mass_point_of_ball(), and firevision::SimpleColorClassifier::set_hint().