23 #ifndef __FIREVISION_APPS_NAO_LOC_QUALIFIERS_H_
24 #define __FIREVISION_APPS_NAO_LOC_QUALIFIERS_H_
26 #include <fvutils/color/colorspaces.h>
27 #include <fvutils/base/types.h>
29 namespace firevision {
46 virtual unsigned char* get_buffer();
47 virtual void set_buffer(
unsigned char* buffer,
unsigned int width = 0,
48 unsigned int height = 0);
50 virtual colorspace_t get_colorspace();
51 virtual void set_colorspace(colorspace_t colorspace);
55 Qualifier(
unsigned char* buffer,
unsigned int width,
56 unsigned int height, colorspace_t colorspace);
79 unsigned int height, colorspace_t colorspace);
91 unsigned int height, colorspace_t colorspace);
98 static const unsigned int threshold_ = 128;
107 unsigned int height, colorspace_t colorspace);
114 static const unsigned int threshold_ = 100;
119 #endif // __FIREVISION_APPS_NAO_LOC_QUALIFIERS_H_
SkyblueQualifier for a single pixel.
LumaQualifier for a single pixel.
Point with cartesian coordinates as unsigned integers.
unsigned int size_
Size of the buffer.
YellowQualifier for a single pixel.
unsigned int width_
Width of the buffer.
colorspace_t colorspace_
Colorspace of the buffer.
unsigned char * buffer_
Image buffer.
unsigned int height_
Height of the buffer.
Abstract Qualifier for a single pixel.