31 #define NORMAL_X_HEIGHT (0.5) 32 #define NORMAL_BASELINE (0.0) 61 #define AverageOf(A,B) (((A) + (B)) / 2) 64 #define MF_SCALE_FACTOR (NORMAL_X_HEIGHT / kBlnXHeight) 67 #define DegenerateOutline(O) (((O) == NIL_LIST) || ((O) == list_rest(O))) 68 #define PointAt(O) ((MFEDGEPT *) first_node (O)) 69 #define NextPointAfter(E) (list_rest (E)) 70 #define MakeOutlineCircular(O) (set_rest (last (O), (O))) 73 #define ClearMark(P) ((P)->ExtremityMark = FALSE) 74 #define MarkPoint(P) ((P)->ExtremityMark = TRUE) 86 LIST ConvertedOutlines,
void FreeMFOutline(void *agr)
void ComputeDirection(MFEDGEPT *Start, MFEDGEPT *Finish, float MinSlope, float MaxSlope)
MFEDGEPT * NewEdgePoint()
MFOUTLINE ConvertOutline(TESSLINE *Outline)
LIST ConvertOutlines(TESSLINE *Outline, LIST ConvertedOutlines, OUTLINETYPE OutlineType)
void ChangeDirection(MFOUTLINE Start, MFOUTLINE End, DIRECTION Direction)
void FreeOutlines(LIST Outlines)
void ComputeBlobCenter(TBLOB *Blob, TPOINT *BlobCenter)
LIST ConvertBlob(TBLOB *Blob)
void NormalizeOutline(MFOUTLINE Outline, float XOrigin)
void MarkDirectionChanges(MFOUTLINE Outline)
DIRECTION PreviousDirection
MFOUTLINE NextExtremity(MFOUTLINE EdgePoint)
void CharNormalizeOutline(MFOUTLINE Outline, const DENORM &cn_denorm)
void FilterEdgeNoise(MFOUTLINE Outline, float NoiseSegmentLength)
MFOUTLINE NextDirectionChange(MFOUTLINE EdgePoint)
void FindDirectionChanges(MFOUTLINE Outline, float MinSlope, float MaxSlope)