YellowQualifier Class Reference
YellowQualifier for a single pixel. More...
#include <apps/nao_loc/qualifiers.h>
Inheritance diagram for YellowQualifier:

Public Member Functions | |
| YellowQualifier (unsigned char *buffer, unsigned int width, unsigned int height, colorspace_t colorspace) | |
| Constructor. | |
| virtual int | get (fawkes::point_t pixel) |
| Getter. | |
Detailed Description
YellowQualifier for a single pixel.Uses the value of the U/V-channels
Definition at line 97 of file qualifiers.h.
Constructor & Destructor Documentation
| YellowQualifier::YellowQualifier | ( | unsigned char * | buffer, | |
| unsigned int | width, | |||
| unsigned int | height, | |||
| colorspace_t | colorspace | |||
| ) |
Constructor.
- Parameters:
-
buffer containing the image width of the image height of the image colorspace the colorspace in action
Definition at line 228 of file qualifiers.cpp.
Member Function Documentation
| int YellowQualifier::get | ( | fawkes::point_t | pixel | ) | [virtual] |
Getter.
- Parameters:
-
pixel the pixel of interest
- Returns:
- a corresponding int value
Implements Qualifier.
Definition at line 240 of file qualifiers.cpp.
References Qualifier::buffer_, Qualifier::height_, Qualifier::size_, Qualifier::width_, fawkes::point_t::x, and fawkes::point_t::y.
The documentation for this class was generated from the following files:
- src/firevision/classifiers/qualifiers.h
- src/firevision/classifiers/qualifiers.cpp

