Fawkes API  Fawkes Development Version
firevision::FilterSegment Class Reference

Segmentation filter. More...

#include <>>

Inheritance diagram for firevision::FilterSegment:

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

Constructor & Destructor Documentation

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

Constructor.

Parameters:
cmcolor model to use
whatwhat 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::Filter::src, firevision::Filter::src_roi, firevision::ROI::start, fawkes::point_t::y, firevision::ROI::line_step, firevision::ROI::pixel_step, firevision::Filter::dst, firevision::Filter::dst_roi, fawkes::point_t::x, firevision::ROI::height, firevision::ROI::width, and firevision::ColorModel::determine().


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