1 /********************************************************************* 2 * pyramid.h 3 *********************************************************************/ 4 5 #ifndef _PYRAMID_H_ 6 #define _PYRAMID_H_ 7 8 #include "klt_util.h" 9 10 typedef struct { 11 int subsampling; 12 int nLevels; 13 _KLT_FloatImage *img; 14 int *ncols, *nrows; 15 } _KLT_PyramidRec, *_KLT_Pyramid; 16 17 18 _KLT_Pyramid _KLTCreatePyramid( 19 int ncols, 20 int nrows, 21 int subsampling, 22 int nlevels); 23 24 void _KLTComputePyramid( 25 _KLT_FloatImage floatimg, 26 _KLT_Pyramid pyramid, 27 float sigma_fact); 28 29 void _KLTFreePyramid( 30 _KLT_Pyramid pyramid); 31 32 #endif 33