Leptonica 1.68
C Image Processing Library

warpertest.c File Reference

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"}

Detailed Description

Tests stereoscopic warp and associated shear and stretching functions. Uses gthumb for visually identifying problems.

Definition in file warpertest.c.


Define Documentation

#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.


Function Documentation


Variable Documentation

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().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines