FilterShapeRemover Class Reference
Remove shapes from an image. More...
#include <filters/shape_remover.h>

Public Member Functions | |
| FilterShapeRemover () | |
| Constructor. | |
| virtual void | set_shape (Shape *shape) |
| Set shape that is to be removed. | |
| virtual void | set_margin (unsigned int margin) |
| Set margin. | |
| virtual void | apply () |
| Apply the filter. | |
Detailed Description
Remove shapes from an image.Definition at line 32 of file shape_remover.h.
Constructor & Destructor Documentation
| FilterShapeRemover::FilterShapeRemover | ( | ) |
Member Function Documentation
| void FilterShapeRemover::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 42 of file shape_remover.cpp.
References Filter::dst, Filter::dst_roi, ROI::get_roi_buffer_start(), ROI::height, Shape::isClose(), ROI::line_step, Shape::setMargin(), Filter::src, Filter::src_roi, and ROI::width.
| void FilterShapeRemover::set_margin | ( | unsigned int | margin | ) | [virtual] |
Set margin.
- Parameters:
-
margin margin around shape to be close to a point.
Definition at line 100 of file shape_remover.cpp.
| void FilterShapeRemover::set_shape | ( | Shape * | shape | ) | [virtual] |
Set shape that is to be removed.
- Parameters:
-
shape shape to remove
Definition at line 110 of file shape_remover.cpp.
The documentation for this class was generated from the following files:
- src/firevision/filters/shape_remover.h
- src/firevision/filters/shape_remover.cpp

