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

Conversion.h

00001 /* Copyright (c) 2001 S.E. Grigorescu */
00002 
00003 #ifndef CONVERSION_H
00004 #define CONVERSION_H
00005 
00006 #include <math.h>
00007 #include "Image.h"
00008 #include "ByteImage.h"
00009 #include "IntImage.h"
00010 #include "FloatImage.h"
00011 
00014 void byte2int(Image< byte >& input, Image< int >& output);
00021 void byte2int(ByteImage& input, IntImage& output);
00029 void byte2float(Image< byte >& input, Image< float >& output);
00037 void byte2float(ByteImage& input, FloatImage& output);
00045 void int2byte(Image< int >& input, Image< byte >& output);
00053 void int2byte(IntImage& input, ByteImage& output);
00061 void int2float(Image< int >& input, Image< float >& output);
00069 void int2float(IntImage& input, FloatImage& output);
00077 void float2byte(Image< float >& input, Image< byte >& output);
00085 void float2byte(FloatImage& input, ByteImage& output);
00093 void float2int(Image< float >& input, Image< int >& output);
00101 void float2int(FloatImage& input, IntImage& output);
00109 #endif