00001 /****************************************************************************** 00002 * __ _ _ _ _ _ _____ * 00003 * | \ / | | | | | | | | | | ___| * 00004 * | \/ | | | | | | | | | | |_ * 00005 * | | | | | | | | | | | _| * 00006 * | |\/| | | | | |__ | |__ | | | |__ * 00007 * |_| |_| |_| |____| |____| |_| |____| * 00008 * __________________________________________________________________________ * 00009 * Multifunctional Library For Image Processing * 00010 * * 00011 * * 00012 * * 00013 * (c) Copyright 2007 by Humbert Florent * 00014 * * 00015 * This program is free software; you can redistribute it and/or modify * 00016 * it under the terms of the GNU General Public License as published by * 00017 * the Free Software Foundation; only version 2 of the License. * 00018 * * 00019 * This program is distributed in the hope that it will be useful, * 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00022 * GNU General Public License for more details. * 00023 * * 00024 * You should have received a copy of the GNU General Public License * 00025 * along with this program; if not, write to the Free Software * 00026 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 00027 * 02111-1307, USA. * 00028 ******************************************************************************/ 00029 00032 #ifndef _PREDEFINEDKERNEL_HPP_ 00033 #define _PREDEFINEDKERNEL_HPP_ 00034 00035 #include "Kernel.hpp" 00036 00037 namespace Millie 00038 { 00039 00053 class KernelSobelVertical : public Kernel 00054 { 00055 public: 00056 00060 KernelSobelVertical(); 00061 }; 00062 00072 class KernelSobelHorizontal : public Kernel 00073 { 00074 public: 00078 KernelSobelHorizontal(); 00079 }; 00080 00090 class KernelPrewittVertical : public Kernel 00091 { 00092 public: 00096 KernelPrewittVertical(); 00097 }; 00098 00108 class KernelPrewittHorizontal : public Kernel 00109 { 00110 public: 00114 KernelPrewittHorizontal(); 00115 }; 00116 00126 class KernelLaplace : public Kernel 00127 { 00128 public: 00132 KernelLaplace(); 00133 }; 00134 00146 class KernelMDIF : public Kernel 00147 { 00148 public: 00152 KernelMDIF(); 00153 }; 00154 00163 class KernelMediumSmooth : public Kernel 00164 { 00165 public: 00169 KernelMediumSmooth(); 00170 }; 00171 00172 class KernelGaussian : public Kernel 00173 { 00174 public: 00185 KernelGaussian(int rayon, double sigma); 00186 }; 00187 00188 } 00189 00190 00191 #endif