firevision::FilterShapeRemover Class Reference

Remove shapes from an image. More...

#include <filters/shape_remover.h>

Inheritance diagram for firevision::FilterShapeRemover:

[legend]
List of all members.

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 37 of file shape_remover.h.


Constructor & Destructor Documentation

firevision::FilterShapeRemover::FilterShapeRemover (  ) 

Constructor.

Definition at line 39 of file shape_remover.cpp.


Member Function Documentation

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

Definition at line 47 of file shape_remover.cpp.

References firevision::Filter::dst, firevision::Filter::dst_roi, firevision::ROI::get_roi_buffer_start(), firevision::ROI::height, firevision::Shape::isClose(), firevision::ROI::line_step, firevision::Shape::setMargin(), firevision::Filter::src, firevision::Filter::src_roi, and firevision::ROI::width.

void firevision::FilterShapeRemover::set_margin ( unsigned int  margin  )  [virtual]

Set margin.

Parameters:
margin margin around shape to be close to a point.

Definition at line 105 of file shape_remover.cpp.

void firevision::FilterShapeRemover::set_shape ( Shape shape  )  [virtual]

Set shape that is to be removed.

Parameters:
shape shape to remove

Definition at line 115 of file shape_remover.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:59 2011 for Fawkes API by  doxygen 1.4.7