24 #ifndef __FIREVISION_FILTER_MORPHOLOGY_OPENING_H_ 25 #define __FIREVISION_FILTER_MORPHOLOGY_OPENING_H_ 27 #include <fvfilters/morphology/morphologicalfilter.h> 44 orientation_t
ori = ORI_HORIZONTAL,
45 unsigned int buffer_num = 0);
48 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.
FilterOpening()
Constructor.
unsigned int se_anchor_x
Anchor point x offset of structuring element.
virtual ~FilterOpening()
Destructor.
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 char * se
Structuring element.
unsigned int se_height
Height of structuring element.
Morphological filter interface.
virtual void apply()
Apply the filter.
virtual void set_dst_buffer(unsigned char *buf, ROI *roi)
Set the destination buffer.
unsigned int se_width
Width of structuring element.
orientation_t * ori
Orientations, one for each source image.