image/img.h File Reference

#include "memry.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Enumerations

Variables


Define Documentation

#define COMPUTE_IMAGE_XDIM ( xsize,
bpp   )     ((bpp)>8 ? ((xsize)*(bpp)+7)/8 :((xsize)+8/(bpp)-1)/(8/(bpp)))

Definition at line 29 of file img.h.

Referenced by check_legal_image_size(), copy_sub_image(), def_show_sub_image(), IMAGE::read_header(), and write_tif_image().

#define MAXIMAGEHEIGHT   (900*14)

14 inches at 400DPI

Definition at line 27 of file img.h.

#define MAXIMAGEWIDTH   (900*14)

14 inches at 400DPI

Definition at line 25 of file img.h.

Referenced by block_edges(), and IMAGELINE::init().


Typedef Documentation

COLOUR_PIX

Type of array UINT8, holding pointers to color pixels.

Definition at line 39 of file img.h.

typedef INT8(*) IMAGE_OPENER(int, INT32 *, INT32 *, INT8 *, INT8 *, INT32 *)

Definition at line 31 of file img.h.

typedef INT8(*) IMAGE_READER(int, UINT8 *, INT32, INT32, INT8, INT32)

Definition at line 32 of file img.h.

typedef INT8(*) IMAGE_WRITER(int, UINT8 *, INT32, INT32, INT8, INT8, INT32)

Definition at line 33 of file img.h.


Enumeration Type Documentation

enum COLOUR_PIX_NAME

RGB.

Enumerator:
RED_PIX 
GREEN_PIX 
BLUE_PIX 

Definition at line 45 of file img.h.

00046 {
00047   RED_PIX,
00048   GREEN_PIX,
00049   BLUE_PIX
00050 };


Variable Documentation

class DLLSYM IMAGELINE

Definition at line 52 of file img.h.


Generated on Wed Feb 28 19:49:24 2007 for Tesseract by  doxygen 1.5.1