Tesseract 3.01
/data/source/tesseract-ocr/ccstruct/blobs.h File Reference
#include "rect.h"
#include "vecfuncs.h"

Go to the source code of this file.

Classes

struct  WIDTH_RECORD
struct  TPOINT
struct  EDGEPT
struct  TESSLINE
struct  TBLOB
struct  TWERD

Defines

#define EDGEPTFLAGS   4
#define free_widths(w)   if (w) memfree (w)

Typedefs

typedef TPOINT VECTOR

Functions

int count_blobs (TBLOB *blobs)
TBOX TBLOB_bounding_box (const TBLOB *blob)
void blob_origin (TBLOB *blob, TPOINT *origin)
void blob_bounding_box (const TBLOB *blob, TPOINT *topleft, TPOINT *botright)
void blobs_bounding_box (TBLOB *blobs, TPOINT *topleft, TPOINT *botright)
void blobs_origin (TBLOB *blobs, TPOINT *origin)
WIDTH_RECORDblobs_widths (TBLOB *blobs)
bool divisible_blob (TBLOB *blob, bool italic_blob, TPOINT *location)
void divide_blobs (TBLOB *blob, TBLOB *other_blob, bool italic_blob, const TPOINT &location)

Define Documentation

#define EDGEPTFLAGS   4
#define free_widths (   w)    if (w) memfree (w)

Typedef Documentation

typedef TPOINT VECTOR

Function Documentation

void blob_bounding_box ( const TBLOB blob,
TPOINT topleft,
TPOINT botright 
)
void blob_origin ( TBLOB blob,
TPOINT origin 
)
void blobs_bounding_box ( TBLOB blobs,
TPOINT topleft,
TPOINT botright 
)
void blobs_origin ( TBLOB blobs,
TPOINT origin 
)
WIDTH_RECORD* blobs_widths ( TBLOB blobs)
int count_blobs ( TBLOB blobs)
void divide_blobs ( TBLOB blob,
TBLOB other_blob,
bool  italic_blob,
const TPOINT location 
)
bool divisible_blob ( TBLOB blob,
bool  italic_blob,
TPOINT location 
)
TBOX TBLOB_bounding_box ( const TBLOB blob)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines