24 #ifndef __FIREVISION_MODELS_COLOR_LOOKUPTABLE_H_
25 #define __FIREVISION_MODELS_COLOR_LOOKUPTABLE_H_
27 #include <fvmodels/color/colormodel.h>
29 #include <fvutils/colormap/yuvcm.h>
32 namespace firevision {
49 virtual color_t determine(
unsigned int y,
unsigned int u,
unsigned int v)
const;
51 const char * get_name();
54 void load(
const char *filename);
59 static std::string compose_filename(
const std::string format);
69 ColorModelLookupTable::determine(
unsigned int y,
unsigned int u,
unsigned int v)
const
virtual color_t determine(unsigned int y, unsigned int u, unsigned int v) const
Determine color class for given YUV value.
Color model based on a lookup table.