37 "Slope below which lines are called horizontal");
39 "Slope above which lines are called vertical");
45 #define NormalizeAngle(A) ( (((A)<0)?((A)+2*PI):(A)) / (2*PI) ) 75 LIST RemainingOutlines;
81 RemainingOutlines = Outlines;
87 RemainingOutlines = Outlines;
126 if ((Orientation < 0) || (Orientation >= 1))
128 return (Orientation);
148 return (MicroFeatures);
154 if (!
PointAt(Current)->Hidden) {
156 if (NewFeature != NULL)
157 MicroFeatures =
push (MicroFeatures, NewFeature);
161 while (Last != First);
163 return (MicroFeatures);
FLOAT32 ComputeOrientation(MFEDGEPT *Start, MFEDGEPT *End)
void FindDirectionChanges(MFOUTLINE Outline, FLOAT32 MinSlope, FLOAT32 MaxSlope)
double classify_min_slope
void MarkDirectionChanges(MFOUTLINE Outline)
void CharNormalizeOutline(MFOUTLINE Outline, const DENORM &cn_denorm)
MICROFEATURE NewMicroFeature()
LIST ConvertBlob(TBLOB *blob)
MICROFEATURE ExtractMicroFeature(MFOUTLINE Start, MFOUTLINE End)
#define NormalizeAngle(A)
FLOAT32 NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, FLOAT32 FullScale)
#define double_VAR(name, val, comment)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
double classify_max_slope
#define DegenerateOutline(O)
MICROFEATURES BlobMicroFeatures(TBLOB *Blob, const DENORM &cn_denorm)
MFOUTLINE NextExtremity(MFOUTLINE EdgePoint)
void FreeOutlines(LIST Outlines)
LIST push(LIST list, void *element)
MICROFEATURES ConvertToMicroFeatures(MFOUTLINE Outline, MICROFEATURES MicroFeatures)
FLOAT32 DistanceBetween(FPOINT A, FPOINT B)