Bibliothèque de traitements d'images en virgule flottante. http://la.buvette.org/photos/cumul/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
619 B

3 years ago
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <float.h>
#include "../floatimg.h"
3 years ago
/* -------------------------------------------------------------------- */
int fimg_lissage_2x2(FloatImg *img)
{
3 years ago
int x, y, offset;
3 years ago
3 years ago
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %p )\n", __func__, img);
fprintf(stderr," type %s size %dx%d\n", img->type,
img->width, img->height);
#endif
for (y=1; y<img->height; y++) {
for (x=1; x<img->width; x++) {
offset = x + (y * img->width);
}
}
3 years ago
return -1;
}
/* -------------------------------------------------------------------- */