Fawkes API
Fawkes Development Version
|
24 #include <fvfilters/morphology/dilation.h>
25 #include <fvfilters/morphology/erosion.h>
26 #include <fvfilters/morphology/opening.h>
30 namespace firevision {
56 unsigned int buffer_num)
79 unsigned int se_width,
80 unsigned int se_height,
81 unsigned int se_anchor_x,
82 unsigned int se_anchor_y)
unsigned int se_width
Width of structuring element.
unsigned int se_height
Height of structuring element.
virtual void set_src_buffer(unsigned char *buf, ROI *roi, orientation_t ori=ORI_HORIZONTAL, unsigned int buffer_num=0)
Set source buffer with orientation.
unsigned int se_anchor_y
Anchor point y offset of structuring element.
virtual void apply()
Apply the filter.
Morphological filter interface.
orientation_t * ori
Orientations, one for each source image.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.
FilterOpening()
Constructor.
virtual void set_structuring_element(unsigned char *se, unsigned int se_width, unsigned int se_height, unsigned int se_anchor_x, unsigned int se_anchor_y)
Set the structuring element for successive filter runs.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.
virtual void apply()
Apply the filter.
virtual ~FilterOpening()
Destructor.
unsigned int se_anchor_x
Anchor point x offset of structuring element.
unsigned char * se
Structuring element.
virtual void apply()
Apply the filter.
virtual void set_structuring_element(unsigned char *se, unsigned int se_width, unsigned int se_height, unsigned int se_anchor_x, unsigned int se_anchor_y)
Set the structuring element for successive filter runs.
virtual void set_src_buffer(unsigned char *buf, ROI *roi, orientation_t ori=ORI_HORIZONTAL, unsigned int buffer_num=0)
Set source buffer with orientation.