28 #define WORST_MATCH_ALLOWED (0.9)
29 #define WORST_EVIDENCE (1.0)
30 #define MAX_LENGTH_MISMATCH (2.0 * GetPicoFeatureLength ())
33 #define PROTO_SUFFIX ".mf.p"
34 #define CONFIG_SUFFIX ".cl"
49 #define CenterX(M) ( (M)[XPOSITION] )
50 #define CenterY(M) ( (M)[YPOSITION] )
51 #define LengthOf(M) ( (M)[MFLENGTH] )
52 #define OrientationOf(M) ( (M)[ORIENTATION] )
82 register double Similarity);
FLOAT32 SubfeatureEvidence(FEATURE Feature, PROTO Proto)
void ComputeMergedProto(PROTO p1, PROTO p2, FLOAT32 w1, FLOAT32 w2, PROTO MergedProto)
void ComputePaddedBoundingBox(PROTO Proto, FLOAT32 TangentPad, FLOAT32 OrthogonalPad, FRECT *BoundingBox)
FLOAT32 CompareProtos(PROTO p1, PROTO p2)
double EvidenceOf(register double Similarity)
void MakeNewFromOld(PROTO New, PROTOTYPE *Old)
BOOL8 PointInside(FRECT *Rectangle, FLOAT32 X, FLOAT32 Y)
int FindClosestExistingProto(CLASS_TYPE Class, int NumMerged[], PROTOTYPE *Prototype)
BOOL8 DummyFastMatch(FEATURE Feature, PROTO Proto)