FilterColorSegmentation Class Reference

Segmentation filter. More...

#include <filters/segment_color.h>

Inheritance diagram for FilterColorSegmentation:

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 31 of file segment_color.h.


Constructor & Destructor Documentation

FilterColorSegmentation::FilterColorSegmentation ( ColorModel cm  ) 

Constructor.

Parameters:
cm color model to use

Definition at line 44 of file segment_color.cpp.


Member Function Documentation

void 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 Filter.

Definition at line 52 of file segment_color.cpp.

References ColorModel::determine(), Filter::dst, Filter::dst_roi, ROI::height, ROI::image_height, ROI::image_width, ROI::line_step, ROI::pixel_step, Filter::src, Filter::src_roi, ROI::start, ROI::width, fawkes::point_t::x, and fawkes::point_t::y.


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