Compare commits

..

No commits in common. "95475b9c60697e7939255548334d5e5a5685012b" and "b1bf9715e03ace17183ec7eca77ab90e0a813f1d" have entirely different histories.

3 changed files with 6 additions and 8 deletions

View File

@ -3,7 +3,7 @@
* ugly code from tTh
*/
#define FIMG_VERSION 108
#define FIMG_VERSION 107
/*
* in memory descriptor
@ -124,7 +124,6 @@ int fimg_cos_010(FloatImg *s, FloatImg *d, double maxval);
int fimg_mix_rgb_gray(FloatImg *img, float mix);
int fimg_shift_to_zero(FloatImg *s, FloatImg *d, float coefs[6]);
int fimg_classif_trial(FloatImg *src, FloatImg*dst, int notused);
/* module funcs/geometry.c */
int fimg_equalize_compute(FloatImg *src, void *vptr, float vmax);

View File

@ -16,6 +16,8 @@ float global_fvalue;
/* --------------------------------------------------------------------- */
int fimg_classif_trial(FloatImg *src, FloatImg*dst, int notused);
int essai_classif(char *infile)
{
FloatImg src, dst;

View File

@ -59,9 +59,6 @@ for (n=0, fx=fx_list; fx->name; fx++, n++) {
return -1; /* NOT FOUND */
}
/* --------------------------------------------------------------------- */
/*
* this is the mutant function
*/
int do_experiment(FloatImg *S, FloatImg *D, float kf)
{
int foo;
@ -77,10 +74,10 @@ if (foo) {
return -98;
}
foo = fimg_classif_trial(S, D, 0);
foo = fimg_killcolors_a(D, kf);
if (foo) {
fprintf(stderr, "%s err %d classif_trial %p\n", __func__,
foo, S);
fprintf(stderr, "%s err %d killcolors %p %f\n", __func__,
foo, S, kf);
return -98;
}