firevision::FilterDilation Class Reference

Morphological dilation. More...

#include <filters/morphology/dilation.h>

Inheritance diagram for firevision::FilterDilation:

[legend]
List of all members.

Public Member Functions

 FilterDilation ()
 Constructor.
 FilterDilation (unsigned char *se, unsigned int se_width, unsigned int se_height, unsigned int se_anchor_x, unsigned int se_anchor_y)
 Constructor with parameters.
virtual void apply ()
 Apply the filter.

Detailed Description

Morphological dilation.

Author:
Tim Niemueller

Definition at line 34 of file dilation.h.


Constructor & Destructor Documentation

firevision::FilterDilation::FilterDilation (  ) 

Constructor.

Definition at line 44 of file dilation.cpp.

firevision::FilterDilation::FilterDilation ( unsigned char *  se,
unsigned int  se_width,
unsigned int  se_height,
unsigned int  se_anchor_x,
unsigned int  se_anchor_y 
)

Constructor with parameters.

Parameters:
se structuring element buffer. This is just a line-wise concatenated array of values. A value of zero means ignore, any other value means to consider this value.
se_width width of structuring element
se_height height of structuring element
se_anchor_x x coordinate of anchor in structuring element
se_anchor_y y coordinate of anchor in structuring element

Definition at line 59 of file dilation.cpp.


Member Function Documentation

void firevision::FilterDilation::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 73 of file dilation.cpp.

References firevision::Filter::dst, firevision::Filter::dst_roi, firevision::ROI::height, firevision::ROI::line_step, firevision::ROI::pixel_step, firevision::MorphologicalFilter::se, firevision::MorphologicalFilter::se_anchor_x, firevision::MorphologicalFilter::se_anchor_y, firevision::MorphologicalFilter::se_height, firevision::MorphologicalFilter::se_width, firevision::Filter::src, firevision::Filter::src_roi, firevision::ROI::start, firevision::ROI::width, fawkes::point_t::x, fawkes::point_t::y, and firevision::yuv422planar_copy_uv().

Referenced by firevision::FilterOpening::apply(), firevision::FilterGeodesicDilation::apply(), and firevision::FilterClosing::apply().


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