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 
28 namespace firevision {
29 #if 0 /* just to make Emacs auto-indent happy */
30 }
31 #endif
32 
34 {
35  public:
37  FilterDilation(unsigned char *se, unsigned int se_width, unsigned int se_height,
38  unsigned int se_anchor_x, unsigned int se_anchor_y);
39 
40  virtual void apply();
41 
42 };
43 
44 } // end namespace firevision
45 
46 #endif
unsigned int se_anchor_y
Anchor point y offset of structuring element.
unsigned int se_anchor_x
Anchor point x offset of structuring element.
unsigned char * se
Structuring element.
unsigned int se_height
Height of structuring element.
Morphological dilation.
Definition: dilation.h:33
FilterDilation()
Constructor.
Definition: dilation.cpp:54
Morphological filter interface.
unsigned int se_width
Width of structuring element.
virtual void apply()
Apply the filter.
Definition: dilation.cpp:83