new: 3x3 smoother in crapulator

This commit is contained in:
2020-12-03 11:47:44 +01:00
parent 8f29cb0db0
commit 160a4afe7b
3 changed files with 45 additions and 15 deletions

View File

@@ -99,7 +99,7 @@ fprintf(stderr, "glob '%s' -> %d, %ld files found\n", pattern, foo,
/* get the size of the inputs images */
foo = fimg_fileinfos(globbuf.gl_pathv[0], datas);
width = datas[0]; height = datas[1];
fprintf(stderr, "image size %dx%d\n", width, height);
fprintf(stderr, "first image size %dx%d\n", width, height);
fimg_create(&input, width, height, 3);
@@ -111,7 +111,7 @@ if (foo) {
exit(1);
}
maxvalue = fimg_get_maxvalue(&input);
fprintf(stderr, "maxvalue %f\n", maxvalue);
fprintf(stderr, "first image maxvalue %f\n", maxvalue);
foo = create_fifo(szfifo, width, height, FIMG_TYPE_RGB);
fprintf(stderr, "init fifo (%d slots) --> %d\n", szfifo, foo);