Fawkes API Fawkes Development Version
dilation.h
1
2/***************************************************************************
3 * dilation.h - header for morphological dilation filter
4 *
5 * Created: Thu May 25 15:29:05 2006
6 * Copyright 2005-2012 Tim Niemueller [www.niemueller.de]
7 ****************************************************************************/
8
9/* This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version. A runtime exception applies to
13 * this software (see LICENSE.GPL_WRE file mentioned below for details).
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Library General Public License for more details.
19 *
20 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
21 */
22
23#ifndef _FIREVISION_FILTER_MORPHOLOGY_DILATION_H_
24#define _FIREVISION_FILTER_MORPHOLOGY_DILATION_H_
25
26#include <fvfilters/morphology/morphologicalfilter.h>
27
28namespace firevision {
29
31{
32public:
34 FilterDilation(unsigned char *se,
35 unsigned int se_width,
36 unsigned int se_height,
37 unsigned int se_anchor_x,
38 unsigned int se_anchor_y);
39
40 virtual void apply();
41};
42
43} // end namespace firevision
44
45#endif
Morphological dilation.
Definition: dilation.h:31
virtual void apply()
Apply the filter.
Definition: dilation.cpp:75
FilterDilation()
Constructor.
Definition: dilation.cpp:47
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.