Leptonica 1.68
C Image Processing Library
|
Tests gray thresholding to 1, 2 and 4 bpp, with and without colormaps. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
main (int argc, char **argv) | |
Variables | |
static const l_int32 | THRESHOLD = 130 |
static const l_int32 | NLEVELS = 4 |
Tests gray thresholding to 1, 2 and 4 bpp, with and without colormaps.
Definition in file grayquant_reg.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 31 of file grayquant_reg.c.
References boxCreate(), boxDestroy(), ERROR_INT, IFF_JFIF_JPEG, IFF_PNG, NLEVELS, NULL, PIX_SRC, pixaCreate(), pixaDestroy(), pixaDisplay(), pixClipRectangle(), pixcmapGetIndex(), pixcmapWriteStream(), pixConvertGrayToColormap(), pixCreate(), pixDestroy(), pixDisplay(), pixDitherTo2bpp(), pixEqual(), pixGetColormap(), pixGetDimensions(), pixRasterop(), pixRead(), pixReduceRankBinaryCascade(), pixRemoveColormap(), pixSaveTiled(), pixScale(), pixScaleGray2xLIThresh(), pixScaleGray4xLIThresh(), pixScaleToGray4(), pixSetSelectCmap(), pixThreshold8(), pixThresholdGrayArb(), pixThresholdOn8bpp(), pixThresholdTo2bpp(), pixThresholdTo4bpp(), pixThresholdToBinary(), pixWrite(), REMOVE_CMAP_TO_GRAYSCALE, startTimer(), stopTimer(), and THRESHOLD.
Definition at line 26 of file grayquant_reg.c.
Referenced by main().
Definition at line 28 of file grayquant_reg.c.
Referenced by main().