Compare commits

...

3 Commits

Author SHA1 Message Date
tonton th 0d93070774 Merge branch 'master' of ssh://tetalab.org:2213/tTh/FloatImg
j'ai encore fait un beuhbeuh ?
2020-08-05 21:12:42 +02:00
tonton th dbe8ee406a trying to display delat min/max 2020-08-04 22:07:40 +02:00
tonton th 78ab2b4278 better message 2020-08-03 18:29:03 +02:00
2 changed files with 7 additions and 4 deletions

View File

@ -49,9 +49,12 @@ if (foo) {
return foo;
}
printf("Rmin %12.4g Rmax %12.4g\n", vals[0], vals[1]);
printf("Gmin %12.4g Gmax %12.4g\n", vals[2], vals[3]);
printf("Bmin %12.4g Bmax %12.4g\n", vals[4], vals[5]);
printf("Rmin %12.4g Rmax %12.4g delta %12g\n",
vals[0], vals[1], vals[1]-vals[0]);
printf("Gmin %12.4g Gmax %12.4g %12g\n",
vals[2], vals[3], vals[3]-vals[2]);
printf("Bmin %12.4g Bmax %12.4g %12g\n",
vals[4], vals[5], vals[5]-vals[4]);
return 0;
}

View File

@ -346,7 +346,7 @@ if (verbosity) fprintf(stderr, "saving cumul to '%s'\n", outfile);
/* ----- nouveau 15 nov 2019 */
maxvalue = cumul.fval * cumul.count;
if (verbosity) {
fprintf(stderr, "computed maxvalue = %g\n", maxvalue);
fprintf(stderr, "theorical maxvalue = %g\n", maxvalue);
}
switch (contrast) {
case CONTRAST_NONE: