cutil/const.h File Reference

Go to the source code of this file.

Defines


Define Documentation

#define ASPECT_RATIO   2

Aspect ratio of blob

Definition at line 80 of file const.h.

#define BADCLASS   255

Null class

Definition at line 43 of file const.h.

#define BADMATCH   255

Number match

Definition at line 45 of file const.h.

#define BLOBSIZE   10000

Max number of blobs on a page

Definition at line 26 of file const.h.

#define CHARSETSIZE   (LASTCHAR-FIRSTCHAR+1)

Number of characters in set

Definition at line 33 of file const.h.

#define CHECKS   0x1

acts[OCR] control flags

Definition at line 141 of file const.h.

#define CIRCLE   3

Starbase markers

Definition at line 113 of file const.h.

#define CLASSIZE   256

Max no of classes

Definition at line 39 of file const.h.

#define CLASSLENGTH   16

Max chars in a class string

Definition at line 47 of file const.h.

#define CONCAVE   2

TESSLINE point is concave

Definition at line 92 of file const.h.

#define CONVEX   1

TESSLINE point is convex

Definition at line 90 of file const.h.

#define CORRECTION   3

Correction of run

Definition at line 105 of file const.h.

#define DIR   2

Direction of run

Definition at line 102 of file const.h.

#define EACHWERD   0x2000

Definition at line 149 of file const.h.

#define EDGE   1

Edge process id

Definition at line 128 of file const.h.

#define EDGEPTFLAGS   4

Concavity, length etc.

Definition at line 86 of file const.h.

#define FILENAMESIZE   1024

Max permissible path name length

Definition at line 72 of file const.h.

Referenced by edit_with_ocr().

#define FIRSTCHAR   '!'

First char in set

Definition at line 29 of file const.h.

#define FLAGS   0

Flags array indices

Definition at line 88 of file const.h.

#define FX   2

FX, feature extractor, process id

Definition at line 130 of file const.h.

Referenced by program_init().

#define FXSELECT   0x10

Definition at line 145 of file const.h.

Referenced by cc_recog().

#define ITALIC   0

Measure of italicness

Definition at line 78 of file const.h.

#define LASTCHAR   '~'

Last char in set

Definition at line 31 of file const.h.

#define LEARN   0x100

Definition at line 147 of file const.h.

#define MAX_WO_CLASSES   3

Number of quickie classes

Definition at line 75 of file const.h.

#define MAXCHARSIZE   159

Max size of any char

Definition at line 37 of file const.h.

#define MAXFLOAT   2000000000.0f

Definition at line 68 of file const.h.

Referenced by number_permute_and_select().

#define MAXINT   2147483647

Max value of an int

Definition at line 60 of file const.h.

Referenced by LengthOfShortestAlphaRun(), record_certainty(), render_segmentation(), and setup_outline().

#define MAXPROC   (OCR+1)

Definition at line 135 of file const.h.

#define MAXUCHAR   255

Max value of unsigned char

Definition at line 64 of file const.h.

#define MERGESIZE   10

Max chars in a class

Definition at line 35 of file const.h.

#define NODEFLAGS   4

Number of flags in a node

Definition at line 83 of file const.h.

#define NULL   0

Definition at line 56 of file const.h.

#define OCR   4

OCR process id

Definition at line 134 of file const.h.

Referenced by cc_recog(), and program_init().

#define ONHULL   8

On convex hull

Definition at line 96 of file const.h.

#define OUTLINES_PER_BLOB   8

Max number of outlines in blob

Definition at line 108 of file const.h.

#define OUTLINESIZE   256

Max elements in approximated path

Definition at line 24 of file const.h.

#define PATHSIZE   8192

Max elements in edge path

Definition at line 22 of file const.h.

#define PI   3.14159265359

PI

Definition at line 66 of file const.h.

Referenced by AddProtoToProtoPruner(), angle_change(), CompareProtos(), ComputeBulges(), ComputePaddedBoundingBox(), FillABC(), InitIntegerFX(), InitTableFiller(), NewEllipticalProto(), NewSphericalProto(), Normalize(), NormalizedAngleFrom(), ReadPrototype(), RenderIntFeature(), RenderIntProto(), and SmearBulges().

#define PLUS   1

Starbase markers

Definition at line 111 of file const.h.

#define REALSCALE   ((double)(1<<VECSCALE))

2.0**VECSCALE

Definition at line 51 of file const.h.

Referenced by ConvertOutline().

#define RUNLENGTH   1

Length of run

Definition at line 99 of file const.h.

#define SCAN   0

Scanner process id

Definition at line 126 of file const.h.

#define SMD   0x100000

Memory driver output

Definition at line 123 of file const.h.

#define SPLINESIZE   23

Max spline parts to a line

Definition at line 53 of file const.h.

#define SPLITSIZE   4

Number of to_classes per class

Definition at line 41 of file const.h.

#define STRINGCMPS   0x1

debugs[OCR] control flags

Definition at line 138 of file const.h.

#define TO   3

Pageseg process id

Definition at line 132 of file const.h.

#define VECSCALE   3

Vector scaling factor in fx

Definition at line 49 of file const.h.

Referenced by ComputeBlobCenter().

#define WRITECORRECTS   0x4

Definition at line 143 of file const.h.

#define WRITEERRORS   0x2

Definition at line 142 of file const.h.

#define WRITELEARNFILE   0xf00

Definition at line 148 of file const.h.

#define WRITEROWFILE   0x06

Definition at line 146 of file const.h.

#define WRITEWERDS   0x8

Definition at line 144 of file const.h.


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