FilterDilation Class Reference

Morphological dilation. More...

#include <filters/morphology/dilation.h>

Inheritance diagram for FilterDilation:

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 29 of file dilation.h.


Constructor & Destructor Documentation

FilterDilation::FilterDilation (  ) 

Constructor.

Definition at line 39 of file dilation.cpp.

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 54 of file dilation.cpp.


Member Function Documentation

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

Definition at line 68 of file dilation.cpp.

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

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


The documentation for this class was generated from the following files: