Browse Source

trying to display delat min/max

master
tonton th 2 years ago
parent
commit
dbe8ee406a
  1. 9
      tools/fimgstats.c

9
tools/fimgstats.c

@ -49,9 +49,12 @@ if (foo) { @@ -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;
}

Loading…
Cancel
Save