Wavelet and Image class library  1.3.2
tools.h
Go to the documentation of this file.
00001 /*
00002  * Toolbox for image operations (class-independent)
00003  *
00004  * $Date$
00005  * $Revision$
00006  *
00007  */
00008 
00009 #ifndef TOOLS_H__
00010 #define TOOLS_H__
00011 
00015 #include "WImage/miscdefs.h"
00016 
00021 pixel tools_coeff2pixel (coeff c);
00022 
00027 int tools_coeff2int ( coeff c);
00028 
00033 bool tools_equals (double d1, double d2);
00034 
00040 bool tools_epsilons (double d1, double d2, double epsilon);
00041 
00047 bool tools_areaFromString (char a1, char a2, area &result);
00048 
00053 bool tools_areaFromString (char *a, area &result);
00054 
00059 const char * tools_areaToString (const area a);
00060 
00065 bool tools_powerOfTwo (int value, int &power);
00066 
00071 int tools_startFromCenter (int pos, int length);
00072 
00073 #ifndef _WIN32_WCE
00074 
00078 int tools_fileSize (const char *fname);
00079 #endif
00080 
00083 #endif /* TOOLS_H__*/
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines