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