introduction des ajustements de contraste
This commit is contained in:
24
lib/t.c
24
lib/t.c
@@ -13,29 +13,6 @@
|
||||
|
||||
int verbosity;
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
int petit_dessin(FloatImg *img)
|
||||
{
|
||||
int x, y;
|
||||
float r, g, b;
|
||||
|
||||
for (y=0; y<img->height; y++) {
|
||||
|
||||
r = (float)y / (float)img->height;
|
||||
|
||||
for (x=0; x<img->width; x++) {
|
||||
|
||||
g = (float)x / (float)img->width;
|
||||
b = 0.0;;
|
||||
|
||||
fimg_plot_rgb(img, x, y, r, g, b);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
||||
int essai_2gray(FloatImg *picz, char *outname)
|
||||
@@ -77,7 +54,6 @@ double maxi;
|
||||
foo = fimg_create_from_dump(fname, &dessin);
|
||||
foo = fimg_clone(&dessin, ©, 0);
|
||||
|
||||
|
||||
maxi = (double)fimg_get_maxvalue(&dessin);
|
||||
fprintf(stderr, "image source valeur maxi = %f\n", maxi);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user