24 #include <fvfilters/morphology/closing.h>
26 #include <fvfilters/morphology/dilation.h>
27 #include <fvfilters/morphology/erosion.h>
44 FilterClosing::FilterClosing()
63 orientation_t ori,
unsigned int buffer_num)
89 unsigned int se_width,
unsigned int se_height,
90 unsigned int se_anchor_x,
unsigned int se_anchor_y)
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.
virtual void apply()
Apply the filter.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.
Morphological filter interface.
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.
virtual ~FilterClosing()
Destructor.
virtual void apply()
Apply the filter.
virtual void apply()
Apply the filter.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.