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);
149 return (MicroFeatures);
155 if (!
PointAt(Current)->Hidden) {
157 if (NewFeature !=
NULL)
158 MicroFeatures =
push (MicroFeatures, NewFeature);
162 while (Last != First);
164 return (MicroFeatures);
#define NormalizeAngle(A)
void CharNormalizeOutline(MFOUTLINE Outline, const DENORM &cn_denorm)
#define double_VAR(name, val, comment)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
FLOAT32 NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, FLOAT32 FullScale)
double classify_min_slope
MFOUTLINE NextExtremity(MFOUTLINE EdgePoint)
void FindDirectionChanges(MFOUTLINE Outline, FLOAT32 MinSlope, FLOAT32 MaxSlope)
MICROFEATURE NewMicroFeature()
LIST ConvertBlob(TBLOB *blob)
void FreeOutlines(LIST Outlines)
FLOAT32 DistanceBetween(FPOINT A, FPOINT B)
#define DegenerateOutline(O)
MICROFEATURES BlobMicroFeatures(TBLOB *Blob, const DENORM &cn_denorm)
void MarkDirectionChanges(MFOUTLINE Outline)
FLOAT32 ComputeOrientation(MFEDGEPT *Start, MFEDGEPT *End)
MICROFEATURES ConvertToMicroFeatures(MFOUTLINE Outline, MICROFEATURES MicroFeatures)
double classify_max_slope
MICROFEATURE ExtractMicroFeature(MFOUTLINE Start, MFOUTLINE End)
LIST push(LIST list, void *element)