Main Page | Class Hierarchy | Class List | File List | Class Members

LIBCP::Arithmetic Class Reference

arithmetic functions More...

#include <arithmetic.h>

List of all members.

Static Public Member Functions

int addImage (Image *dst, Image *first, Image *second)
int addImage (Image *dst, Image *src, int constant)
int subImage (Image *dst, Image *first, Image *second)
int mulImage (Image *dst, Image *first, Image *second)
int mulImage (Image *dst, Image *src, int factor)
int arithmeticMaximum (Image *dst, Image *first, Image *second)
int arithmeticMinimum (Image *dst, Image *first, Image *second)
int andImage (Image *dst, Image *first, Image *second)
int orImage (Image *dst, Image *first, Image *second)
int xorImage (Image *dst, Image *first, Image *second)
int notImage (Image *dst, Image *src)


Detailed Description

arithmetic functions


Member Function Documentation

int LIBCP::Arithmetic::addImage Image dst,
Image src,
int  constant
[static]
 

Add a constant to an image

Parameters:
dst destination image
src source image
constant value to add

int LIBCP::Arithmetic::addImage Image dst,
Image first,
Image second
[static]
 

Logical ADD of two images

Parameters:
dst destination image of type Image::BINARY
src source image of type Image::BINARY

int LIBCP::Arithmetic::andImage Image dst,
Image first,
Image second
[static]
 

Logical AND of two images

Parameters:
dst destination image
first 
second 

int LIBCP::Arithmetic::arithmeticMaximum Image dst,
Image first,
Image second
[static]
 

Arithmetic maximum of two images

Parameters:
dst destination image
first 
second 

int LIBCP::Arithmetic::arithmeticMinimum Image dst,
Image first,
Image second
[static]
 

Arithmetic minimum of two images

Parameters:
dst destination image
first 
second 

int LIBCP::Arithmetic::mulImage Image dst,
Image src,
int  constant
[static]
 

Multiply by a constant factor to an image

Parameters:
dst destination image
src source image
constant value to multiply

int LIBCP::Arithmetic::mulImage Image dst,
Image first,
Image second
[static]
 

Multiply two images

Parameters:
dst destination image
first multiplicant
second multiplier

int LIBCP::Arithmetic::notImage Image dst,
Image src
[static]
 

Logical NOT of two images

Parameters:
dst destination image of type BINARY
src source image of type BINARY

int LIBCP::Arithmetic::orImage Image dst,
Image first,
Image second
[static]
 

Logical OR of two images

Parameters:
dst destination image
first 
second 

int LIBCP::Arithmetic::subImage Image dst,
Image first,
Image second
[static]
 

Subtract two images

Parameters:
dst destination source image
first minuend
second subtrahend

int LIBCP::Arithmetic::xorImage Image dst,
Image first,
Image second
[static]
 

Logical exclusive OR (XOR) of two images

Parameters:
dst destination image
first 
second 


The documentation for this class was generated from the following files:
Generated on Wed May 26 16:43:53 2004 for libcp by doxygen 1.3.7