first working version of singlepass

This commit is contained in:
2021-01-13 16:09:27 +01:00
parent 0d536187fd
commit 35e7354396
12 changed files with 135 additions and 30 deletions

View File

@@ -15,7 +15,6 @@
#include "filterstack.h"
int verbosity;
int convert_to_gray;
/* -------------------------------------------------------------- */
int traite_une_image(FloatImg *image, int proc, int step, char *outd)
@@ -168,7 +167,7 @@ puts("\tFONDERIE\noptions:");
puts("\t-E\tinput:filter:chain");
puts("\t-F\toutput:filter:chain");
puts("\t-g\tconvert to gray");
// puts("\t-g\tconvert to gray");
puts("\t-I\tinput glob pattern");
puts("\t-L\tlist available filters");
puts("\t-O\toutput directory");
@@ -201,7 +200,7 @@ while ((opt = getopt(argc, argv, "B:E:F:ghI:LO:s:T:vw:x:")) != -1) {
case 'F': OutFchain = optarg; break;
case 'B': blanks = atoi(optarg);
break;
case 'g': convert_to_gray = 1;
case 'g': // convert_to_gray = 1;
break;
case 'h': help();
break;