24 #ifndef _FIREVISION_MODELS_COLOR_COLORMODEL_H_ 25 #define _FIREVISION_MODELS_COLOR_COLORMODEL_H_ 27 #include <fvutils/base/types.h> 29 namespace firevision {
36 virtual color_t
determine(
unsigned int y,
unsigned int u,
unsigned int v)
const = 0;
40 virtual void uv_to_image(
unsigned char *yuv422_planar_buffer,
unsigned int y);
virtual const char * get_name()=0
Get name of color model.
virtual ~ColorModel()
Virtual empty destructor.
virtual void uv_to_image(unsigned char *yuv422_planar_buffer, unsigned int y)
Create image from color model.
virtual color_t determine(unsigned int y, unsigned int u, unsigned int v) const =0
Determine classification of YUV pixel.