firevision::FilterColorSegmentation Class Reference

Segmentation filter. More...

#include <filters/segment_color.h>

Inheritance diagram for firevision::FilterColorSegmentation:

[legend]
List of all members.

Public Member Functions

 FilterColorSegmentation (ColorModel *cm)
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Segmentation filter.

Visually marks pixels depending of their classification determined by the supplied color model to make the segmentation visible. The pixels are marked with the color matching the segmentation with an appropriate place holder color

Author:
Tim Niemueller

Definition at line 36 of file segment_color.h.


Constructor & Destructor Documentation

firevision::FilterColorSegmentation::FilterColorSegmentation ( ColorModel cm  ) 

Constructor.

Parameters:
cm color model to use

Definition at line 49 of file segment_color.cpp.


Member Function Documentation

void firevision::FilterColorSegmentation::apply (  )  [virtual]

Apply the filter.

Apply the filter to the given source and destination buffers with given width and height and orientation (ori may be ignored for some filters).

Implements firevision::Filter.

Definition at line 57 of file segment_color.cpp.

References firevision::C_BLUE, firevision::C_CYAN, firevision::C_GREEN, firevision::C_MAGENTA, firevision::C_ORANGE, firevision::C_RED, firevision::C_WHITE, firevision::C_YELLOW, firevision::ColorModel::determine(), firevision::Filter::dst, firevision::Filter::dst_roi, firevision::ROI::height, firevision::ROI::image_height, firevision::ROI::image_width, firevision::ROI::line_step, firevision::ROI::pixel_step, firevision::Filter::src, firevision::Filter::src_roi, firevision::ROI::start, firevision::ROI::width, fawkes::point_t::x, and fawkes::point_t::y.


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:59 2011 for Fawkes API by  doxygen 1.4.7