forked from tTh/FloatImg
+ essai de fimg_cos_010
This commit is contained in:
parent
3218e83688
commit
e51888b206
@ -181,6 +181,9 @@ if (fi->count < 1) {
|
||||
return -98;
|
||||
}
|
||||
|
||||
/*
|
||||
* mmmm, is this real ?
|
||||
*/
|
||||
coef = 1.0 / ((double)fi->count * (double)fi->fval);
|
||||
|
||||
if (verbosity) {
|
||||
|
5
lib/t.c
5
lib/t.c
@ -147,6 +147,11 @@ maxi = (double)fimg_get_maxvalue(©);
|
||||
fprintf(stderr, "apres cos 01 valeur maxi = %f\n", maxi);
|
||||
fimg_dump_to_file(©, "cos_01.fimg", 0);
|
||||
|
||||
fimg_cos_010(&dessin, ©, maxi);
|
||||
maxi = (double)fimg_get_maxvalue(©);
|
||||
fprintf(stderr, "apres cos 010 valeur maxi = %f\n", maxi);
|
||||
fimg_dump_to_file(©, "cos_010.fimg", 0);
|
||||
|
||||
fimg_destroy(&dessin);
|
||||
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user