00001 /********************************************************************* 00002 * klt_util.h 00003 *********************************************************************/ 00004 00005 #ifndef _KLT_UTIL_H_ 00006 #define _KLT_UTIL_H_ 00007 00008 typedef struct { 00009 int ncols; 00010 int nrows; 00011 float *data; 00012 } _KLT_FloatImageRec, *_KLT_FloatImage; 00013 00014 _KLT_FloatImage _KLTCreateFloatImage( 00015 int ncols, 00016 int nrows); 00017 00018 void _KLTFreeFloatImage( 00019 _KLT_FloatImage); 00020 00021 void _KLTPrintSubFloatImage( 00022 _KLT_FloatImage floatimg, 00023 int x0, int y0, 00024 int width, int height); 00025 00026 void _KLTWriteFloatImageToPGM( 00027 _KLT_FloatImage img, 00028 char *filename); 00029 00030 #endif 00031 00032
1.5.1