Leptonica 1.68
C Image Processing Library
|
Tests stereoscopic warp and associated shear and stretching functions. Uses gthumb for visually identifying problems. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | RUN_WARP 1 |
#define | RUN_QUAD_VERT_SHEAR 0 |
#define | RUN_LIN_HORIZ_STRETCH 0 |
#define | RUN_QUAD_HORIZ_STRETCH 0 |
#define | RUN_HORIZ_SHEAR 0 |
#define | RUN_VERT_SHEAR 0 |
Functions | |
main (int argc, char **argv) | |
Variables | |
static const char * | opstr [3] = {"", "interpolated", "sampled"} |
static const char * | dirstr [3] = {"", "to left", "to right"} |
Tests stereoscopic warp and associated shear and stretching functions. Uses gthumb for visually identifying problems.
Definition in file warpertest.c.
#define RUN_WARP 1 |
Definition at line 30 of file warpertest.c.
#define RUN_QUAD_VERT_SHEAR 0 |
Definition at line 31 of file warpertest.c.
#define RUN_LIN_HORIZ_STRETCH 0 |
Definition at line 32 of file warpertest.c.
#define RUN_QUAD_HORIZ_STRETCH 0 |
Definition at line 33 of file warpertest.c.
#define RUN_HORIZ_SHEAR 0 |
Definition at line 34 of file warpertest.c.
#define RUN_VERT_SHEAR 0 |
Definition at line 35 of file warpertest.c.
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 37 of file warpertest.c.
References bmfCreate(), bmfDestroy(), boxCreate(), boxDestroy(), buf, dirstr, ERROR_INT, IFF_JFIF_JPEG, IFF_PNG, L_ADD_BELOW, L_BRING_IN_WHITE, L_INTERPOLATED, l_jpegSetNoChromaSampling(), L_LINEAR_WARP, L_QUADRATIC_WARP, L_SAMPLED, L_WARP_TO_LEFT, L_WARP_TO_RIGHT, NULL, opstr, pixAddSingleTextblock(), pixClipRectangle(), pixCreate(), pixDestroy(), pixDisplayMultiple(), pixGetDimensions(), pixHShear(), pixHShearLI(), pixQuadraticVShear(), pixRead(), pixRenderLineArb(), pixSetAll(), pixStretchHorizontal(), pixVShear(), pixVShearLI(), pixWarpStereoscopic(), and pixWrite().
const char* opstr[3] = {"", "interpolated", "sampled"} [static] |
Definition at line 27 of file warpertest.c.
Referenced by main().
const char* dirstr[3] = {"", "to left", "to right"} [static] |
Definition at line 28 of file warpertest.c.
Referenced by main().