Leptonica 1.68
C Image Processing Library

rotate2_reg.c File Reference

Regression test for rotation by shear, sampling and area mapping. Displays results from all the various types of rotations. 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

void RotateTest (PIX *pixs, l_int32 reduction, L_REGPARAMS *rp)
 main (int argc, char **argv)

Variables

static const l_float32 ANGLE1 = 3.14159265 / 30.
static const l_float32 ANGLE2 = 3.14159265 / 7.

Detailed Description

Regression test for rotation by shear, sampling and area mapping. Displays results from all the various types of rotations.

Definition in file rotate2_reg.c.


Define Documentation

#define BINARY_IMAGE   "test1.png"

Definition at line 25 of file rotate2_reg.c.

Referenced by main().

#define TWO_BPP_IMAGE   "weasel2.4c.png"

Definition at line 26 of file rotate2_reg.c.

Referenced by main().

#define FOUR_BPP_IMAGE1   "weasel4.11c.png"

Definition at line 27 of file rotate2_reg.c.

Referenced by main().

#define FOUR_BPP_IMAGE2   "weasel4.16g.png"

Definition at line 28 of file rotate2_reg.c.

Referenced by main().

#define EIGHT_BPP_IMAGE   "test8.jpg"

Definition at line 29 of file rotate2_reg.c.

Referenced by main().

#define EIGHT_BPP_CMAP_IMAGE1   "dreyfus8.png"

Definition at line 30 of file rotate2_reg.c.

Referenced by main().

#define EIGHT_BPP_CMAP_IMAGE2   "test24.jpg"

Definition at line 31 of file rotate2_reg.c.

Referenced by main().

#define RGB_IMAGE   "marge.jpg"

Definition at line 32 of file rotate2_reg.c.

Referenced by main().


Function Documentation


Variable Documentation

const l_float32 ANGLE1 = 3.14159265 / 30. [static]

Definition at line 34 of file rotate2_reg.c.

Referenced by RotateTest().

const l_float32 ANGLE2 = 3.14159265 / 7. [static]

Definition at line 35 of file rotate2_reg.c.

Referenced by RotateTest().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines