arithmetic.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef _LIBCP_ARITHMETIC_H_
00026
#define _LIBCP_ARITHMETIC_H_
00027
00028
using namespace std;
00029
00030
#include "image.h"
00031
00032
namespace LIBCP{
00033
00034
00040 class Arithmetic
00041 {
00042
public:
00043
static int addImage(
Image* dst,
Image* first,
Image* second );
00044
static int addImage(
Image* dst,
Image* src,
int constant );
00045
static int subImage(
Image* dst,
Image* first,
Image* second );
00046
static int mulImage(
Image* dst,
Image* first,
Image* second );
00047
static int mulImage(
Image* dst,
Image* src,
int factor );
00048
static int arithmeticMaximum(
Image* dst,
Image* first,
Image* second );
00049
static int arithmeticMinimum(
Image* dst,
Image* first,
Image* second );
00050
static int andImage(
Image* dst,
Image* first,
Image* second );
00051
static int orImage(
Image* dst,
Image* first,
Image* second );
00052
static int xorImage(
Image* dst,
Image* first,
Image* second );
00053
static int notImage(
Image* dst,
Image* src );
00054 };
00055
00056 }
00057
00058
#endif
Generated on Wed May 26 16:43:52 2004 for libcp by
1.3.7