--- ../../dev2/gift/FeatureExtraction/gabor.c 2006-11-15 21:05:25.000000000 +0100 +++ FeatureExtraction/gabor.c 2006-11-16 16:11:53.000000000 +0100 @@ -16,7 +16,7 @@ /* note that all this is taken from the paper JaH98 in ~/tex/bib/squizz.bib */ /* (with my corrections!) */ -static int kernal_size[num_gabor_scales] = {gabor_kernel_size_0, gabor_kernel_size_1, gabor_kernel_size_2}; +static int_fast8_t kernal_size[num_gabor_scales] = {gabor_kernel_size_0, gabor_kernel_size_1, gabor_kernel_size_2}; #define MAX_KERNAL_SIZE gabor_kernel_size_2 @@ -85,7 +85,7 @@ /* conv, conv2, and output need to be cleared before feeding them to this function. */ /* conv and conv2 are just temporary space, for juggling image data between filters */ -void gabor_filter(double *image, int width, int height, int filter_scale, int orientation, double **kernelsxy, double *conv, double *conv2, double *output) { +void gabor_filter(double *image, uint_fast32_t width, uint_fast32_t height, uint_fast32_t filter_scale, uint_fast32_t orientation, double **kernelsxy, double *conv, double *conv2, double *output) { uint_fast32_t x, y; uint_fast32_t k;