24 #include <fvfilters/morphology/closing.h> 26 #include <fvfilters/morphology/dilation.h> 27 #include <fvfilters/morphology/erosion.h> 63 orientation_t
ori,
unsigned int buffer_num)
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.
unsigned int se_anchor_y
Anchor point y offset of structuring element.
unsigned int se_anchor_x
Anchor point x offset 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.
virtual void apply()
Apply the filter.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.
FilterClosing()
Constructor.
unsigned char * se
Structuring element.
unsigned int se_height
Height of structuring element.
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.
unsigned int se_width
Width of structuring element.
virtual void apply()
Apply the filter.
virtual void apply()
Apply the filter.
orientation_t * ori
Orientations, one for each source image.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.