Leptonica 1.68
C Image Processing Library

rotatetest2.c File Reference

Demonstrates image rotation. More...

#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"

Go to the source code of this file.

Defines

#define BINARY_IMAGE   "test1.png"
#define GRAYSCALE_IMAGE   "test8.jpg"
#define FOUR_BPP_IMAGE   "weasel4.8g.png"
#define COLORMAP_IMAGE   "dreyfus8.png"
#define RGB_IMAGE   "marge.jpg"

Functions

void rotateTest (const char *fname, PIXA *pixa)
 main (int argc, char **argv)

Variables

static const l_int32 MODSIZE = 7
static const l_float32 ANGLE1 = 3.14159265 / 12
static const l_int32 NTIMES = 24

Detailed Description

Demonstrates image rotation.

Definition in file rotatetest2.c.


Define Documentation

#define BINARY_IMAGE   "test1.png"

Definition at line 25 of file rotatetest2.c.

Referenced by main().

#define GRAYSCALE_IMAGE   "test8.jpg"

Definition at line 26 of file rotatetest2.c.

Referenced by main().

#define FOUR_BPP_IMAGE   "weasel4.8g.png"

Definition at line 27 of file rotatetest2.c.

Referenced by main().

#define COLORMAP_IMAGE   "dreyfus8.png"

Definition at line 28 of file rotatetest2.c.

Referenced by main().

#define RGB_IMAGE   "marge.jpg"

Definition at line 29 of file rotatetest2.c.

Referenced by main().


Function Documentation

void rotateTest ( const char *  fname,
PIXA pixa 
)

Variable Documentation

const l_int32 MODSIZE = 7 [static]

Definition at line 31 of file rotatetest2.c.

Referenced by rotateTest().

const l_float32 ANGLE1 = 3.14159265 / 12 [static]

Definition at line 33 of file rotatetest2.c.

Referenced by rotateTest().

const l_int32 NTIMES = 24 [static]

Definition at line 34 of file rotatetest2.c.

Referenced by rotateTest().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines