Fawkes API
Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * dilation.h - header for morphological dilation filter 00004 * 00005 * Created: Thu May 25 15:29:05 2006 00006 * Copyright 2005-2012 Tim Niemueller [www.niemueller.de] 00007 ****************************************************************************/ 00008 00009 /* This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. A runtime exception applies to 00013 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Library General Public License for more details. 00019 * 00020 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00021 */ 00022 00023 #ifndef __FIREVISION_FILTER_MORPHOLOGY_DILATION_H_ 00024 #define __FIREVISION_FILTER_MORPHOLOGY_DILATION_H_ 00025 00026 #include <fvfilters/morphology/morphologicalfilter.h> 00027 00028 namespace firevision { 00029 #if 0 /* just to make Emacs auto-indent happy */ 00030 } 00031 #endif 00032 00033 class FilterDilation : public MorphologicalFilter 00034 { 00035 public: 00036 FilterDilation(); 00037 FilterDilation(unsigned char *se, unsigned int se_width, unsigned int se_height, 00038 unsigned int se_anchor_x, unsigned int se_anchor_y); 00039 00040 virtual void apply(); 00041 00042 }; 00043 00044 } // end namespace firevision 00045 00046 #endif