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> 47 virtual void set_buffer(
unsigned char* buffer,
unsigned int width = 0,
48 unsigned int height = 0);
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_ virtual void set_colorspace(colorspace_t colorspace)
colorspace setter
SkyblueQualifier for a single pixel.
LumaQualifier for a single pixel.
virtual void set_buffer(unsigned char *buffer, unsigned int width=0, unsigned int height=0)
buffer setter
virtual unsigned char * get_buffer()
Get buffer.
virtual colorspace_t get_colorspace()
Get colorspace.
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.
Point with cartesian coordinates as unsigned integers.
Qualifier()
Default constructor.
virtual ~Qualifier()
Destructor.
unsigned int height_
Height of the buffer.
Abstract Qualifier for a single pixel.