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>
33 namespace firevision {
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_;
73 #endif // FIREVISION_MODELS_COLOR_COLOR_MAPPING_H___