Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

CAlgebre.h

00001 /*
00002 OpenMorpho Library - Mathematical Morphology (Image processing) Library
00003 Copyright (C) 2000  Laurent Najman
00004 
00005 This program is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU General Public License
00007 as published by the Free Software Foundation; either version 2
00008 of the License, or (at your option) any later version.
00009 
00010 This program is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 GNU General Public License for more details.
00014 
00015 You should have received a copy of the GNU General Public License
00016 along with this program; if not, write to the Free Software
00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018 
00019 You can contact the author at
00020         mailto:laurent@najman.org
00021 and download the latest version at
00022         http://www.laurentnajman,org
00023 */
00024 
00025 // CAlgebre.h: interface for the CCAlgebre class.
00026 //
00028 
00029 #if !defined(AFX_CALGEBRE_H__BEF94A65_86B8_11D4_B181_BE991C280449__INCLUDED_)
00030 #define AFX_CALGEBRE_H__BEF94A65_86B8_11D4_B181_BE991C280449__INCLUDED_
00031 
00032 #ifndef SWIG // Remove whatever is not needed by SWIG
00033 
00034 #if _MSC_VER >= 1000
00035 #pragma once
00036 #endif // _MSC_VER >= 1000
00037 
00038 #include "Error.h"
00039 #include "ImageGrey.h"
00040 
00041 #endif // SWIG
00042 
00060 class CCAlgebre : public CError
00061 {
00062 public:
00063         CCAlgebre();
00064         virtual ~CCAlgebre();
00065 
00067         CImageGrey * add(CImageGrey *img1, int AlgebricConst);
00069         CImageGrey * sub(CImageGrey *img1, int AlgebricConst);
00071         CImageGrey * mult(CImageGrey *img1, int AlgebricConst);
00073         CImageGrey * div(CImageGrey *img1, int AlgebricConst);
00075         CImageGrey * sup(CImageGrey *img1, int AlgebricConst);
00077         CImageGrey * inf(CImageGrey *img1, int AlgebricConst);
00079         CImageGrey * imgor(CImageGrey *img1, int AlgebricConst);
00081         CImageGrey * imgand(CImageGrey *img1, int AlgebricConst);
00082 
00083 };
00084 
00085 #endif // !defined(AFX_CALGEBRE_H__BEF94A65_86B8_11D4_B181_BE991C280449__INCLUDED_)

Generated at Sun May 12 19:04:22 2002 for OpenMorpho by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000