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

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.
Definition at line 32 of file segment.h.
Constructor & Destructor Documentation
| FilterSegment::FilterSegment | ( | ColorModel * | cm, | |
| color_t | what | |||
| ) |
Constructor.
- Parameters:
-
cm color model to use what what to mark
Definition at line 43 of file segment.cpp.
Member Function Documentation
| void 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 Filter.
Definition at line 52 of file segment.cpp.
References ColorModel::determine(), Filter::dst, Filter::dst_roi, ROI::height, 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:
- src/firevision/filters/segment.h
- src/firevision/filters/segment.cpp

