tophat_closing.h

00001 
00002 /***************************************************************************
00003  *  tophat_closing.h - header for morphological tophat closing
00004  *                       reconstruction
00005  *
00006  *  Created: Sun Jun 25 23:05:06 2006 (FIFA WM 2006)
00007  *  Copyright  2005-2007  Tim Niemueller [www.niemueller.de]
00008  *
00009  ****************************************************************************/
00010 
00011 /*  This program is free software; you can redistribute it and/or modify
00012  *  it under the terms of the GNU General Public License as published by
00013  *  the Free Software Foundation; either version 2 of the License, or
00014  *  (at your option) any later version. A runtime exception applies to
00015  *  this software (see LICENSE.GPL_WRE file mentioned below for details).
00016  *
00017  *  This program is distributed in the hope that it will be useful,
00018  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  *  GNU Library General Public License for more details.
00021  *
00022  *  Read the full text in the LICENSE.GPL_WRE file in the doc directory.
00023  */
00024 
00025 #ifndef __FIREVISION_FILTER_MORPHOLOGY_TOPHAT_CLOSING_H_
00026 #define __FIREVISION_FILTER_MORPHOLOGY_TOPHAT_CLOSING_H_
00027 
00028 #include <filters/morphology/morphologicalfilter.h>
00029 
00030 namespace firevision {
00031 #if 0 /* just to make Emacs auto-indent happy */
00032 }
00033 #endif
00034 
00035 class FilterClosing;
00036 class FilterDifference;
00037 
00038 class FilterTophatClosing : public MorphologicalFilter
00039 {
00040  public:
00041   FilterTophatClosing();
00042   virtual ~FilterTophatClosing();
00043 
00044   virtual void apply();
00045   
00046   static const unsigned int SUBTRACTFROM;
00047   static const unsigned int FILTERIMAGE;
00048 
00049  private:
00050   FilterClosing    *closing;
00051   FilterDifference *diff;
00052 };
00053 
00054 } // end namespace firevision
00055 
00056 #endif

Generated on 1 Mar 2011 for Fawkes API by  doxygen 1.6.1