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

MatUtil.h

Go to the documentation of this file.
00001 /*
00002     File:       MatUtil.h
00003 
00004     Function:   Provides useful matrix utilities
00005 
00006     Author:     Andrew Willmott
00007 
00008     Copyright:  (c) 1999-2000, Andrew Willmott
00009 */
00010 
00011 #ifndef __MatUtil__
00012 #define __MatUtil__
00013 
00014 #include "gcl/Image.h"
00015 #include "gcl/Geometry.h"
00016 
00017 Void ImageToMat(const Image &img, Matf &mat, ImgChannel chn = chMono);
00019 Void MatToImage(const Matf &mat, Image &img, ImgChannel chn = chMono);
00021 
00022 Void MakeAbs(Matf &mat);
00024 Void ClipToZeroOne(Matf &mat);
00026 
00027 Void MakeRandomRotation(Vector v, VecTrans &m);
00029 
00030 #endif

Generated at Sat Aug 5 00:17:00 2000 for Graphics Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000