Lines Matching refs:Feature
81 FEATURE Feature; in CompareProtos() local
92 Feature = NewFeature (&PicoFeatDesc); in CompareProtos()
93 Feature->Params[PicoFeatDir] = p1->Angle; in CompareProtos()
103 Feature->Params[PicoFeatX] = p1->X + cos (Angle) * Length; in CompareProtos()
104 Feature->Params[PicoFeatY] = p1->Y + sin (Angle) * Length; in CompareProtos()
105 if (DummyFastMatch (Feature, p2)) { in CompareProtos()
106 Evidence = SubfeatureEvidence (Feature, p2); in CompareProtos()
110 FreeFeature (Feature); in CompareProtos()
115 Feature->Params[PicoFeatX] = p1->X - cos (Angle) * Length; in CompareProtos()
116 Feature->Params[PicoFeatY] = p1->Y - sin (Angle) * Length; in CompareProtos()
117 if (DummyFastMatch (Feature, p2)) { in CompareProtos()
118 Evidence = SubfeatureEvidence (Feature, p2); in CompareProtos()
122 FreeFeature (Feature); in CompareProtos()
126 FreeFeature (Feature); in CompareProtos()
238 FLOAT32 SubfeatureEvidence(FEATURE Feature, PROTO Proto) { in SubfeatureEvidence() argument
242 Dangle = Proto->Angle - Feature->Params[PicoFeatDir]; in SubfeatureEvidence()
247 Distance = Proto->A * Feature->Params[PicoFeatX] + in SubfeatureEvidence()
248 Proto->B * Feature->Params[PicoFeatY] + in SubfeatureEvidence()
281 FEATURE Feature, in DummyFastMatch() argument
304 AngleError = fabs (Proto->Angle - Feature->Params[PicoFeatDir]); in DummyFastMatch()
316 return PointInside(&BoundingBox, Feature->Params[PicoFeatX], in DummyFastMatch()
317 Feature->Params[PicoFeatY]); in DummyFastMatch()