--- ../../dev3/gift/FeatureExtraction/extract_block_features.c 2006-11-19 12:16:44.000000000 -0600 +++ FeatureExtraction/extract_block_features.c 2006-11-19 12:22:29.000000000 -0600 @@ -680,7 +680,13 @@ for (scale = 0; scale < num_gabor_scales; scale++) { for (orientation = 0; orientation < num_gabors_per_scale; orientation++) { for (j = 0; j < num_gabor_ranges; j++) { - fprintf(out_file, "%d %d GABOR_HST SCALE, ORIENTATION, ENERGY UPPER BOUND = %d, %d, %f\n", feature_index, GABOR_HST, scale, orientation, j); +#if num_gabor_ranges==16 /* again, we should really be checking the type... */ + fprintf(out_file, "%d %d GABOR_HST SCALE, ORIENTATION, ENERGY UPPER BOUND = %d, %d, %f\n", feature_index, GABOR_HST, scale, orientation, gabor_ranges((num_gabor_ranges-1))); +#else +#if num_gabor_ranges==10 + fprintf(out_file, "%d %d GABOR_HST SCALE, ORIENTATION, ENERGY UPPER BOUND = %d, %d, %d.000000\n", feature_index, GABOR_HST, scale, orientation, gabor_ranges((num_gabor_ranges-1))); +#endif +#endif feature_index++; } }