24#ifndef _FIREVISION_MODELS_COLOR_COLOR_MAPPING_H__
25#define _FIREVISION_MODELS_COLOR_COLOR_MAPPING_H__
27#include <fvutils/base/roi.h>
28#include <fvutils/base/types.h>
29#include <fvutils/color/yuv.h>
47 get(hint_t hint)
const
49 return color_for_hint_.find(hint) != color_for_hint_.end() ? color_for_hint_.find(hint)->second
53 get(color_t color)
const
55 return hint_for_color_.find(color) != hint_for_color_.end()
56 ? hint_for_color_.find(color)->second
62 void set_mapping(hint_t roi, color_t color);
65 std::map<hint_t, color_t> color_for_hint_;
66 std::map<color_t, hint_t> hint_for_color_;
static YUV_t get_color(color_t color)
YUV_t getter.
color_t get(hint_t hint) const
Inline color_t reference getter.
hint_t get(color_t color) const
Inline hint_t(ROI) reference getter.
static const ColorObjectMap & get_instance()
ColorObjectMap getter.
~ColorObjectMap()
Destructor.