tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
43 LIST RemainingOutlines;
55 RemainingOutlines = Outlines;
113 if (DegenerateOutline (Outline))
119 FeatureStart = PointAt(Next)->Point;
120 Next = NextPointAfter(Next);
127 if (!PointAt(Next)->Hidden) {
128 FeatureEnd = PointAt(Next)->Point;
132 while (Next != First);
150 float TotalWeight = 0.0;
160 TotalWeight += Length;
162 Origin = TotalX / TotalWeight;
bool AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
void AddOutlineFeatureToSet(FPOINT *Start, FPOINT *End, FEATURE_SET FeatureSet)
float NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, float FullScale)
void NormalizeOutlines(LIST Outlines, float *XScale, float *YScale)
const FEATURE_DESC_STRUCT OutlineFeatDesc
float DistanceBetween(FPOINT A, FPOINT B)
LIST ConvertBlob(TBLOB *blob)
FEATURE_SET ExtractOutlineFeatures(TBLOB *Blob)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
void FreeOutlines(LIST Outlines)
FEATURE_SET NewFeatureSet(int NumFeatures)
void NormalizeOutlineX(FEATURE_SET FeatureSet)
void ConvertToOutlineFeatures(MFOUTLINE Outline, FEATURE_SET FeatureSet)
#define MAX_OUTLINE_FEATURES