firevision::ColorObjectMap Class Reference

Color mapping class. More...

#include <fvutils/color/color_object_map.h>

List of all members.

Public Member Functions

 ~ColorObjectMap ()
 Destructor.
const color_t & get (hint_t hint) const
 Inline color_t reference getter.
const hint_t get (color_t color) const
 Inline hint_t(ROI) reference getter.

Static Public Member Functions

static const ColorObjectMapget_instance ()
 ColorObjectMap getter.
static YUV_t get_color (color_t color)
 YUV_t getter.

Detailed Description

Color mapping class.

This class defines a mapping between regions of interest and

See also:
color_t values. It also provides corresponding
YUVColor values for a color_t.
Author:
Christof Rath

Definition at line 38 of file color_object_map.h.


Constructor & Destructor Documentation

firevision::ColorObjectMap::~ColorObjectMap (  ) 

Destructor.

Definition at line 95 of file color_object_map.cpp.


Member Function Documentation

const hint_t firevision::ColorObjectMap::get ( color_t  color  )  const [inline]

Inline hint_t(ROI) reference getter.

Parameters:
color value of interest
Returns:
corresponding ROI

Definition at line 47 of file color_object_map.h.

const color_t & firevision::ColorObjectMap::get ( hint_t  hint  )  const [inline]

Inline color_t reference getter.

Parameters:
hint the ROI of interest
Returns:
the matching color_t value

Definition at line 45 of file color_object_map.h.

Referenced by firevision::SimpleColorClassifier::classify().

YUV_t firevision::ColorObjectMap::get_color ( color_t  color  )  [static]
static const ColorObjectMap & firevision::ColorObjectMap::get_instance (  )  [inline, static]

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

Generated on 1 Mar 2011 for Fawkes API by  doxygen 1.6.1