Fawkes API
Fawkes Development Version
|
Segmentation filter. More...
#include <>>
Public Member Functions | |
FilterColorSegmentation (ColorModel *cm) | |
Constructor. | |
virtual void | apply () |
Apply the filter. |
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
firevision::FilterColorSegmentation::FilterColorSegmentation | ( | ColorModel * | cm | ) |
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::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::image_width, firevision::ROI::image_height, firevision::ROI::height, firevision::ROI::width, and firevision::ColorModel::determine().