Tesseract 3.01
|
#include "mfdefs.h"
#include "mfoutline.h"
#include "clusttool.h"
#include "const.h"
#include "intfx.h"
#include "normalis.h"
#include "params.h"
#include <math.h>
Defines | |
#define | NormalizeAngle(A) ( (((A)<0)?((A)+2*PI):(A)) / (2*PI) ) |
Functions | |
FLOAT32 | ComputeOrientation (MFEDGEPT *Start, MFEDGEPT *End) |
MICROFEATURES | ConvertToMicroFeatures (MFOUTLINE Outline, MICROFEATURES MicroFeatures) |
MICROFEATURE | ExtractMicroFeature (MFOUTLINE Start, MFOUTLINE End) |
CHAR_FEATURES | BlobMicroFeatures (TBLOB *Blob, const DENORM &denorm) |
Variables | |
double | classify_min_slope = 0.414213562 |
double | classify_max_slope = 2.414213562 |
#define NormalizeAngle | ( | A | ) | ( (((A)<0)?((A)+2*PI):(A)) / (2*PI) ) |
---------------------------------------------------------------------------- Macros ----------------------------------------------------------------------------
CHAR_FEATURES BlobMicroFeatures | ( | TBLOB * | Blob, |
const DENORM & | denorm | ||
) |
---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------
MICROFEATURES ConvertToMicroFeatures | ( | MFOUTLINE | Outline, |
MICROFEATURES | MicroFeatures | ||
) |
MICROFEATURE ExtractMicroFeature | ( | MFOUTLINE | Start, |
MFOUTLINE | End | ||
) |
double classify_max_slope = 2.414213562 |
"Slope above which lines are called vertical"
double classify_min_slope = 0.414213562 |
---------------------------------------------------------------------------- Include Files and Type Defines ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Variables ---------------------------------------------------------------------------- "Slope below which lines are called horizontal"