Fawkes API  Fawkes Development Version
firevision::SkyblueQualifier Class Reference

SkyblueQualifier for a single pixel. More...

#include <apps/nao_loc/qualifiers.h>

Inheritance diagram for firevision::SkyblueQualifier:

List of all members.

Public Member Functions

 SkyblueQualifier (unsigned char *buffer, unsigned int width, unsigned int height, colorspace_t colorspace)
 Constructor.
virtual int get (fawkes::point_t pixel)
 Getter.

Detailed Description

SkyblueQualifier for a single pixel.

Uses the value of the U/V-channels

Author:
Christof Rath

Constructor & Destructor Documentation

firevision::SkyblueQualifier::SkyblueQualifier ( unsigned char *  buffer,
unsigned int  width,
unsigned int  height,
colorspace_t  colorspace 
)

Constructor.

Parameters:
buffercontaining the image
widthof the image
heightof the image
colorspacethe colorspace in action

Definition at line 189 of file qualifiers.cpp.


Member Function Documentation

int firevision::SkyblueQualifier::get ( fawkes::point_t  pixel) [virtual]

Getter.

Parameters:
pixelthe pixel of interest
Returns:
a corresponding int value

Implements firevision::Qualifier.

Definition at line 201 of file qualifiers.cpp.

References fawkes::point_t::x, firevision::Qualifier::width_, fawkes::point_t::y, firevision::Qualifier::height_, firevision::Qualifier::size_, and firevision::Qualifier::buffer_.


The documentation for this class was generated from the following files: