add cos010 to tga_equalize
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#define EQ_STD 4
|
||||
#define EQ_GRAY 8
|
||||
#define EQ_COS01 9
|
||||
#define EQ_COS010 10
|
||||
#define EQ_2X2 12
|
||||
#define EQ_LUMIN 14
|
||||
#define EQ_SQUARE 16
|
||||
@@ -28,6 +29,7 @@ mot_clef mots_clef[] =
|
||||
{ "rgb", EQ_STD, "", "same as 'std'" },
|
||||
{ "gray", EQ_GRAY, "", "gray based" },
|
||||
{ "cos01", EQ_COS01, "", "cosinus 0->1" },
|
||||
{ "cos010", EQ_COS010, "", "cosinus 0-1-0" },
|
||||
{ "2x2", EQ_2X2, "", "2x2 matrix" },
|
||||
{ "lumin", EQ_LUMIN, "i", "param: ident is 256" },
|
||||
/* { "gamma", EQ_GAMMA, "d", "not implemented" },*/
|
||||
@@ -40,7 +42,7 @@ mot_clef mots_clef[] =
|
||||
/*::------------------------------------------------------------------::*/
|
||||
void usage()
|
||||
{
|
||||
fprintf(stderr, "* tga_equalize v 0.0.23 [%s] (dwtfywl) tonton Th\n",
|
||||
fprintf(stderr, "* tga_equalize v 0.0.24 [%s] (dwtfywl) tonton Th\n",
|
||||
TGA_OUTILS_VERSION);
|
||||
fprintf(stderr, " compiled %s at %s\n", __DATE__, __TIME__);
|
||||
fprintf(stderr, "usage:\n\ttga_equalize avant.tga mode apres.tga [params]\n");
|
||||
@@ -112,6 +114,10 @@ switch (commande)
|
||||
foo = Image_egalise_cos01(src, dst, 0);
|
||||
break;
|
||||
|
||||
case EQ_COS010:
|
||||
foo = Image_egalise_cos010(src, dst, 0);
|
||||
break;
|
||||
|
||||
case EQ_GAMMA:
|
||||
fprintf(stderr, "no gamma func in %d\n", getpid());
|
||||
foo = FULL_NUCKED;
|
||||
|
||||
Reference in New Issue
Block a user