#include "picofeat.h"
#include "classify.h"
#include "efio.h"
#include "featdefs.h"
#include "fpoint.h"
#include "mfoutline.h"
#include "ocrfeatures.h"
#include "params.h"
#include "trainingsample.h"
#include <math.h>
#include <stdio.h>
Go to the source code of this file.
Private Code
Definition at line 95 of file picofeat.cpp.
129 Delta.
x =
XDelta (*Start, *End) / NumFeatures;
130 Delta.
y =
YDelta (*Start, *End) / NumFeatures;
133 Center.
x = Start->
x + Delta.
x / 2.0;
134 Center.
y = Start->
y + Delta.
y / 2.0;
137 for (i = 0; i < NumFeatures; i++) {
const FEATURE_DESC_STRUCT PicoFeatDesc
BOOL8 AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)
FLOAT32 DistanceBetween(FPOINT A, FPOINT B)
FLOAT32 NormalizedAngleFrom(FPOINT *Point1, FPOINT *Point2, FLOAT32 FullScale)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
double classify_pico_feature_length
Definition at line 151 of file picofeat.cpp.
186 &(
PointAt(Next)->Point), FeatureSet);
191 while (Current != First);
#define NextPointAfter(E)
#define DegenerateOutline(O)
void ConvertSegmentToPicoFeat(FPOINT *Start, FPOINT *End, FEATURE_SET FeatureSet)
double classify_pico_feature_length = 0.05 |
Include Files and Type Defines
"Pico Feature Length"
Definition at line 39 of file picofeat.cpp.