Fawkes API  Fawkes Development Version
firevision::MorphologicalFilter Class Reference

Morphological filter interface. More...

#include <>>

Inheritance diagram for firevision::MorphologicalFilter:

List of all members.

Public Member Functions

 MorphologicalFilter (const char *name, unsigned int max_num_buffers=1)
 Constructor.
virtual ~MorphologicalFilter ()
 Destructor.
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.

Protected Attributes

unsigned char * se
 Structuring element.
unsigned int se_width
 Width of structuring element.
unsigned int se_height
 Height of structuring element.
unsigned int se_anchor_x
 Anchor point x offset of structuring element.
unsigned int se_anchor_y
 Anchor point y offset of structuring element.

Detailed Description

Morphological filter interface.

This interface defines specific API details for morphological filters.

Author:
Tim Niemueller

Constructor & Destructor Documentation

firevision::MorphologicalFilter::MorphologicalFilter ( const char *  name,
unsigned int  max_num_buffers = 1 
)

Constructor.

Parameters:
namefilter name
max_num_buffersmaximum number of source buffers.

Definition at line 44 of file morphologicalfilter.cpp.

References se, se_width, se_height, se_anchor_x, and se_anchor_y.

firevision::MorphologicalFilter::~MorphologicalFilter ( ) [virtual]

Destructor.

Definition at line 53 of file morphologicalfilter.cpp.


Member Function Documentation

void firevision::MorphologicalFilter::set_structuring_element ( unsigned char *  se,
unsigned int  se_width,
unsigned int  se_height,
unsigned int  se_anchor_x,
unsigned int  se_anchor_y 
) [virtual]

Set the structuring element for successive filter runs.

Parameters:
sestructuring element buffer. This is just a line-wise concatenated array of values. A value of zero means ignore, any other value means to consider this value.
se_widthwidth of structuring element
se_heightheight of structuring element
se_anchor_xx coordinate of anchor in structuring element
se_anchor_yy coordinate of anchor in structuring element

Reimplemented in firevision::FilterClosing, and firevision::FilterOpening.

Definition at line 68 of file morphologicalfilter.cpp.

References se, se_width, se_height, se_anchor_x, and se_anchor_y.

Referenced by firevision::FilterClosing::set_structuring_element(), firevision::FilterGeodesicDilation::FilterGeodesicDilation(), firevision::FilterGeodesicErosion::FilterGeodesicErosion(), and firevision::FilterOpening::set_structuring_element().


Member Data Documentation


The documentation for this class was generated from the following files: