Tesseract 3.01
/data/source/tesseract-ocr/ccstruct/blobs.cpp File Reference
#include "mfcpch.h"
#include "blobs.h"
#include "ccstruct.h"
#include "cutil.h"
#include "emalloc.h"
#include "helpers.h"
#include "ndminx.h"
#include "normalis.h"
#include "ocrblock.h"
#include "ocrrow.h"
#include "points.h"
#include "polyaprx.h"
#include "structures.h"
#include "werd.h"

Functions

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)
int count_blobs (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)

Variables

const TPOINT kDivisibleVerticalUpright = {0, 1}
const TPOINT kDivisibleVerticalItalic = {1, 5}

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 
)

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines