adding classif to fimgfx
This commit is contained in:
parent
621759efb6
commit
95475b9c60
@ -3,7 +3,7 @@
|
|||||||
* ugly code from tTh
|
* ugly code from tTh
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FIMG_VERSION 107
|
#define FIMG_VERSION 108
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* in memory descriptor
|
* in memory descriptor
|
||||||
|
@ -59,6 +59,9 @@ for (n=0, fx=fx_list; fx->name; fx++, n++) {
|
|||||||
return -1; /* NOT FOUND */
|
return -1; /* NOT FOUND */
|
||||||
}
|
}
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
/*
|
||||||
|
* this is the mutant function
|
||||||
|
*/
|
||||||
int do_experiment(FloatImg *S, FloatImg *D, float kf)
|
int do_experiment(FloatImg *S, FloatImg *D, float kf)
|
||||||
{
|
{
|
||||||
int foo;
|
int foo;
|
||||||
@ -74,10 +77,10 @@ if (foo) {
|
|||||||
return -98;
|
return -98;
|
||||||
}
|
}
|
||||||
|
|
||||||
foo = fimg_killcolors_a(D, kf);
|
foo = fimg_classif_trial(S, D, 0);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s err %d killcolors %p %f\n", __func__,
|
fprintf(stderr, "%s err %d classif_trial %p\n", __func__,
|
||||||
foo, S, kf);
|
foo, S);
|
||||||
return -98;
|
return -98;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user