Morphological dilation. More...
#include <>>

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. | |
Morphological dilation.
Definition at line 34 of file dilation.h.
| 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.
| 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.
| 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, and fawkes::point_t::y.
Referenced by firevision::FilterOpening::apply(), firevision::FilterGeodesicDilation::apply(), and firevision::FilterClosing::apply().
1.7.1