Leptonica 1.68
C Image Processing Library
|
Regression test for shear, both IP and to new pix. More...
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | BINARY_IMAGE "test1.png" |
#define | TWO_BPP_IMAGE "weasel2.4c.png" |
#define | FOUR_BPP_IMAGE1 "weasel4.11c.png" |
#define | FOUR_BPP_IMAGE2 "weasel4.16g.png" |
#define | EIGHT_BPP_IMAGE "test8.jpg" |
#define | EIGHT_BPP_CMAP_IMAGE1 "dreyfus8.png" |
#define | EIGHT_BPP_CMAP_IMAGE2 "test24.jpg" |
#define | RGB_IMAGE "marge.jpg" |
Functions | |
static PIX * | shearTest (PIX *pixs, l_int32 reduction) |
l_int32 | main (int argc, char **argv) |
Variables | |
static const l_float32 | ANGLE1 = 3.14159265 / 12. |
Regression test for shear, both IP and to new pix.
Definition in file shear_reg.c.
#define BINARY_IMAGE "test1.png" |
Definition at line 24 of file shear_reg.c.
Referenced by main().
#define TWO_BPP_IMAGE "weasel2.4c.png" |
Definition at line 25 of file shear_reg.c.
Referenced by main().
#define FOUR_BPP_IMAGE1 "weasel4.11c.png" |
Definition at line 26 of file shear_reg.c.
Referenced by main().
#define FOUR_BPP_IMAGE2 "weasel4.16g.png" |
Definition at line 27 of file shear_reg.c.
Referenced by main().
#define EIGHT_BPP_IMAGE "test8.jpg" |
Definition at line 28 of file shear_reg.c.
Referenced by main().
#define EIGHT_BPP_CMAP_IMAGE1 "dreyfus8.png" |
Definition at line 29 of file shear_reg.c.
Referenced by main().
#define EIGHT_BPP_CMAP_IMAGE2 "test24.jpg" |
Definition at line 30 of file shear_reg.c.
Referenced by main().
#define RGB_IMAGE "marge.jpg" |
Definition at line 31 of file shear_reg.c.
Referenced by main().
Definition at line 127 of file shear_reg.c.
References ANGLE1, L_BRING_IN_BLACK, L_BRING_IN_WHITE, NULL, pixaCreate(), pixaDestroy(), pixaDisplay(), pixCopy(), pixDestroy(), pixGetColormap(), pixGetDimensions(), pixHShear(), pixHShearIP(), pixHShearLI(), pixSaveTiled(), pixVShear(), pixVShearIP(), pixVShearLI(), and PROCNAME.
Referenced by main().
l_int32 main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 38 of file shear_reg.c.
References BINARY_IMAGE, L_RegParams::display, EIGHT_BPP_CMAP_IMAGE1, EIGHT_BPP_CMAP_IMAGE2, EIGHT_BPP_IMAGE, FOUR_BPP_IMAGE1, FOUR_BPP_IMAGE2, IFF_JFIF_JPEG, IFF_PNG, NULL, pixcmapGetIndex(), pixcmapResetColor(), pixDestroy(), pixDisplayWithTitle(), pixGetColormap(), pixOctreeColorQuant(), pixRead(), regTestCleanup(), regTestSetup(), regTestWritePixAndCheck(), RGB_IMAGE, shearTest(), and TWO_BPP_IMAGE.
Definition at line 35 of file shear_reg.c.
Referenced by shearTest().