firevision::FilterSegment Class Reference

Segmentation filter. More...

#include <filters/segment.h>

Inheritance diagram for firevision::FilterSegment:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FilterSegment (ColorModel *cm, color_t what)
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Segmentation filter.

Visually marks pixels of a given color and makes the segmentation visible. The pixels are marked with bright colors.

Author:
Tim Niemueller

Definition at line 37 of file segment.h.


Constructor & Destructor Documentation

firevision::FilterSegment::FilterSegment ( ColorModel cm,
color_t  what 
)

Constructor.

Parameters:
cm color model to use
what what to mark

Definition at line 48 of file segment.cpp.


Member Function Documentation

void firevision::FilterSegment::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.cpp.

References firevision::ColorModel::determine(), firevision::Filter::dst, firevision::Filter::dst_roi, firevision::ROI::height, 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 1 Mar 2011 for Fawkes API by  doxygen 1.6.1