Leptonica 1.68
C Image Processing Library
|
Demonstrates dithering using: pixDitherToBinary(), pixDitherTo2bpp(), pixScaleGray2xLIDither(), and pixScaleGray4xLIDither(). More...
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) | |
Variables | |
static const l_float32 | FACTOR = 0.95 |
static const l_float32 | GAMMA = 1.0 |
Demonstrates dithering using: pixDitherToBinary(), pixDitherTo2bpp(), pixScaleGray2xLIDither(), and pixScaleGray4xLIDither().
Definition in file dithertest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 29 of file dithertest.c.
References ERROR_INT, FACTOR, filein, GAMMA, L_MIN, lept_fclose(), lept_fopen(), NULL, pixcmapWriteStream(), pixDestroy(), pixDisplayMultiple(), pixDisplayWrite(), pixDitherTo2bpp(), pixDitherToBinary(), pixGammaTRC(), pixGetColormap(), pixGetDepth(), pixGetHeight(), pixGetWidth(), pixRead(), pixScaleGray2xLIDither(), pixScaleGray4xLIDither(), pixWriteStreamPS(), startTimer(), and stopTimer().
Definition at line 25 of file dithertest.c.
Referenced by main().
Definition at line 26 of file dithertest.c.
Referenced by main().