#include "mergenf.h"#include "general.h"#include "efio.h"#include "clusttool.h"#include "cluster.h"#include "oldlist.h"#include "protos.h"#include "ndminx.h"#include "ocrfeatures.h"#include "const.h"#include "featdefs.h"#include "intproto.h"#include "varable.h"#include <stdio.h>#include <string.h>#include <math.h>Functions | |
| FLOAT32 | CompareProtos (PROTO p1, PROTO p2) |
| void | ComputeMergedProto (PROTO p1, PROTO p2, FLOAT32 w1, FLOAT32 w2, PROTO MergedProto) |
| int | FindClosestExistingProto (CLASS_TYPE Class, int NumMerged[], PROTOTYPE *Prototype) |
| void | MakeNewFromOld (PROTO New, PROTOTYPE *Old) |
| FLOAT32 | SubfeatureEvidence (FEATURE Feature, PROTO Proto) |
| FLOAT32 | EvidenceOf (register FLOAT32 Similarity) |
| BOOL8 | DummyFastMatch (FEATURE Feature, PROTO Proto) |
| void | ComputePaddedBoundingBox (PROTO Proto, FLOAT32 TangentPad, FLOAT32 OrthogonalPad, FRECT *BoundingBox) |
| BOOL8 | PointInside (FRECT *Rectangle, FLOAT32 X, FLOAT32 Y) |
Variables | |
| double | training_angle_match_scale = 1.0 |
| double | training_similarity_midpoint = 0.0075 |
| double | training_similarity_curl = 2.0 |
| double | training_tangent_bbox_pad = 0.5 |
| double | training_orthogonal_bbox_pad = 2.5 |
| double | training_angle_pad = 45.0 |
---------------------------------------------------------------------------- Global Data Definitions and Declarations ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------
| void ComputePaddedBoundingBox | ( | PROTO | Proto, | |
| FLOAT32 | TangentPad, | |||
| FLOAT32 | OrthogonalPad, | |||
| FRECT * | BoundingBox | |||
| ) |
| int FindClosestExistingProto | ( | CLASS_TYPE | Class, | |
| int | NumMerged[], | |||
| PROTOTYPE * | Prototype | |||
| ) |
| double training_angle_match_scale = 1.0 |
---------------------------------------------------------------------------- Include Files and Type Defines ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Variables ----------------------------------------------------------------------------- "Angle Match Scale ..."
| double training_angle_pad = 45.0 |
"Angle pad ..."
| double training_orthogonal_bbox_pad = 2.5 |
"Orthogonal bounding box pad ..."
| double training_similarity_curl = 2.0 |
"Similarity Curl ..."
| double training_similarity_midpoint = 0.0075 |
"Similarity Midpoint ..."
| double training_tangent_bbox_pad = 0.5 |
"Tangent bounding box pad ..."
1.6.3