Leptonica 1.68
C Image Processing Library
|
Tests the pixEqual() function in many situations. This also tests the quantization of grayscale and color images (to generate a colormapped image), and removal of the colormap to either RGB or grayscale. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | FEYN1 "feyn.tif" |
#define | DREYFUS2 "dreyfus2.png" |
#define | DREYFUS4 "dreyfus4.png" |
#define | DREYFUS8 "dreyfus8.png" |
#define | KAREN8 "karen8.jpg" |
#define | MARGE32 "marge.jpg" |
Functions | |
main (int argc, char **argv) |
Tests the pixEqual() function in many situations. This also tests the quantization of grayscale and color images (to generate a colormapped image), and removal of the colormap to either RGB or grayscale.
Definition in file equal_reg.c.
#define FEYN1 "feyn.tif" |
Definition at line 31 of file equal_reg.c.
Referenced by main().
#define DREYFUS2 "dreyfus2.png" |
Definition at line 32 of file equal_reg.c.
Referenced by main().
#define DREYFUS4 "dreyfus4.png" |
Definition at line 33 of file equal_reg.c.
Referenced by main().
#define DREYFUS8 "dreyfus8.png" |
Definition at line 34 of file equal_reg.c.
Referenced by main().
#define KAREN8 "karen8.jpg" |
Definition at line 35 of file equal_reg.c.
Referenced by main().
#define MARGE32 "marge.jpg" |
Definition at line 36 of file equal_reg.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 38 of file equal_reg.c.
References DREYFUS2, DREYFUS4, DREYFUS8, ERROR_INT, FALSE, FEYN1, IFF_PNG, KAREN8, L_INFO, MARGE32, pixConvertRGBToColormap(), pixDestroy(), pixEqual(), pixOctreeQuantNumColors(), pixRead(), pixRemoveColormap(), pixThresholdTo4bpp(), pixWrite(), REMOVE_CMAP_BASED_ON_SRC, REMOVE_CMAP_TO_FULL_COLOR, and TRUE.