a new sfx func is born
This commit is contained in:
@@ -21,7 +21,7 @@ float global_fvalue;
|
||||
/* --------------------------------------------------------------------- */
|
||||
enum nCmd { Equalize=1, Rotate, Sfx0, F3x3, MIRE, Wfits, Wpng, Wtiff,
|
||||
Histo, Hsv, Classif, Ctr2x2, Qsortrgb,
|
||||
Displace, ReadPNG, Plasmas };
|
||||
Displace, ReadPNG, Plasmas, Hilight };
|
||||
typedef struct {
|
||||
char *name;
|
||||
int Cmd;
|
||||
@@ -44,6 +44,7 @@ Command commands[] = {
|
||||
{ "displace", Displace },
|
||||
{ "readpng", ReadPNG },
|
||||
{ "plasma", Plasmas },
|
||||
{ "hilight", Hilight },
|
||||
{ NULL, 0 }
|
||||
} ;
|
||||
|
||||
@@ -194,6 +195,9 @@ switch(opt) {
|
||||
fprintf(stderr, "rotate not implemented (%d)\n", rand());
|
||||
foo = 0;
|
||||
break;
|
||||
case Hilight:
|
||||
foo = essai_highlights(filename, outfile, 0, global_fvalue);
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "'%s' is a bad command\n", command);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user