Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

matrixarith File Reference

Go to the source code of this file.

Defines

#define MATRIX_ARITH_LIBRARY
#define UNDEFINED   0

Functions

template<class T, class U> bool samedimen (CMatrix< T > &LHS, CMatrix< U > &RHS)
 Checks to see if two matrices have the same dimensions. More...

template<class T, class U> void convolve (CMatrix< T > &I, CMatrix< U > &Mask, CMatrix< T > &Out)
 Convolves matrix 'I' with matrix 'Mask' and puts the results in 'Out.' Note that this is a discrete approximation of an actual convolution. More...

template<class T, class U> void convolve (CMatrix< T > &I, CMatrix< U > &Mask)
 Convovles matrix 'I' with matrix 'Mask' and puts the result in 'I'. More...

template<class T, class U> void derivex (CMatrix< T > &In, CMatrix< U > &Out)
 Takes the discrete derivative in the x direction using a simple 2x2 window. More...

template<class T, class U> void derivey (CMatrix< T > &In, CMatrix< U > &Out)
 Takes the discrete derivative in the y direction using a simple 2x2 window. More...

template<class T, class U> void derivet (CMatrix< T > &In1, CMatrix< U > &In2, CMatrix< T > &Out)
 Takes the discrete derivative in t (subtracting the two images). More...

template<class T, class U> T & dotprod (CMatrix< T > &OP1, CMatrix< U > &OP2, CMatrix< T > &Out)
 does Out = OP1 * OP2. More...

template<class T> void transpose (CMatrix< T > &In, CMatrix< T > &Out)
 Transposes a matrix and puts the result in 'Out'. More...

template<class T, class U> void derivex (CMatrix< T > &In, CMatrix< T > &Out)
template<class T, class U> void derivey (CMatrix< T > &In, CMatrix< T > &Out)


Define Documentation

#define MATRIX_ARITH_LIBRARY
 

Definition at line 5 of file matrixarith.

#define UNDEFINED   0
 

Definition at line 8 of file matrixarith.


Function Documentation

template<class T, class U>
void convolve CMatrix< T > & I,
CMatrix< U > & Mask
 

Convovles matrix 'I' with matrix 'Mask' and puts the result in 'I'.

Definition at line 87 of file matrixarith.

Referenced by derivet(), derivex(), and derivey().

template<class T, class U>
void convolve CMatrix< T > & I,
CMatrix< U > & Mask,
CMatrix< T > & Out
 

Convolves matrix 'I' with matrix 'Mask' and puts the results in 'Out.' Note that this is a discrete approximation of an actual convolution.

Definition at line 59 of file matrixarith.

template<class T, class U>
void derivet CMatrix< T > & In1,
CMatrix< U > & In2,
CMatrix< T > & Out
 

Takes the discrete derivative in t (subtracting the two images).

Definition at line 124 of file matrixarith.

template<class T, class U>
void derivex CMatrix< T > & In,
CMatrix< T > & Out
 

Definition at line 98 of file matrixarith.

template<class T, class U>
void derivex CMatrix< T > & In,
CMatrix< U > & Out
 

Takes the discrete derivative in the x direction using a simple 2x2 window.

template<class T, class U>
void derivey CMatrix< T > & In,
CMatrix< T > & Out
 

Definition at line 111 of file matrixarith.

template<class T, class U>
void derivey CMatrix< T > & In,
CMatrix< U > & Out
 

Takes the discrete derivative in the y direction using a simple 2x2 window.

template<class T, class U>
T & dotprod CMatrix< T > & OP1,
CMatrix< U > & OP2,
CMatrix< T > & Out
 

does Out = OP1 * OP2.

Definition at line 145 of file matrixarith.

template<class T, class U>
bool samedimen CMatrix< T > & LHS,
CMatrix< U > & RHS
 

Checks to see if two matrices have the same dimensions.

Definition at line 50 of file matrixarith.

template<class T>
void transpose CMatrix< T > & In,
CMatrix< T > & Out
 

Transposes a matrix and puts the result in 'Out'.

Definition at line 166 of file matrixarith.


Generated at Thu Apr 25 20:30:41 2002 for SuperParr by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001