Segmentation filter. More...
#include <filters/segment.h>

Public Member Functions | |
| FilterSegment (ColorModel *cm, color_t what) | |
| Constructor. | |
| virtual void | apply () |
| Apply the filter. | |
Segmentation filter.
Visually marks pixels of a given color and makes the segmentation visible. The pixels are marked with bright colors.
Definition at line 37 of file segment.h.
| firevision::FilterSegment::FilterSegment | ( | ColorModel * | cm, | |
| color_t | what | |||
| ) |
Constructor.
| cm | color model to use | |
| what | what to mark |
Definition at line 48 of file segment.cpp.
| 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.
1.6.1