Leptonica 1.68
C Image Processing Library

rotate1_reg.c File Reference

Regression test for rotation by shear and area mapping. Displays results when images are rotated sequentially multiple times. 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 void RotateTest (PIX *pixs, l_int32 reduction, L_REGPARAMS *rp)
l_int32 main (int argc, char **argv)

Variables

static const l_int32 MODSIZE = 11
static const l_float32 ANGLE1 = 3.14159265 / 12.
static const l_float32 ANGLE2 = 3.14159265 / 120.
static const l_int32 NTIMES = 24

Detailed Description

Regression test for rotation by shear and area mapping. Displays results when images are rotated sequentially multiple times.

Definition in file rotate1_reg.c.


Define Documentation

#define BINARY_IMAGE   "test1.png"

Definition at line 25 of file rotate1_reg.c.

Referenced by main().

#define TWO_BPP_IMAGE   "weasel2.4c.png"

Definition at line 26 of file rotate1_reg.c.

Referenced by main().

#define FOUR_BPP_IMAGE1   "weasel4.11c.png"

Definition at line 27 of file rotate1_reg.c.

Referenced by main().

#define FOUR_BPP_IMAGE2   "weasel4.16g.png"

Definition at line 28 of file rotate1_reg.c.

Referenced by main().

#define EIGHT_BPP_IMAGE   "test8.jpg"

Definition at line 29 of file rotate1_reg.c.

Referenced by main().

#define EIGHT_BPP_CMAP_IMAGE1   "dreyfus8.png"

Definition at line 30 of file rotate1_reg.c.

Referenced by main().

#define EIGHT_BPP_CMAP_IMAGE2   "test24.jpg"

Definition at line 31 of file rotate1_reg.c.

Referenced by main().

#define RGB_IMAGE   "marge.jpg"

Definition at line 32 of file rotate1_reg.c.

Referenced by main().


Function Documentation


Variable Documentation

const l_int32 MODSIZE = 11 [static]

Definition at line 34 of file rotate1_reg.c.

Referenced by RotateTest().

const l_float32 ANGLE1 = 3.14159265 / 12. [static]

Definition at line 36 of file rotate1_reg.c.

Referenced by RotateTest().

const l_float32 ANGLE2 = 3.14159265 / 120. [static]

Definition at line 37 of file rotate1_reg.c.

Referenced by RotateTest().

const l_int32 NTIMES = 24 [static]

Definition at line 38 of file rotate1_reg.c.

Referenced by RotateTest().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines