QUAD_SPEC Struct Reference

#include <tessclas.h>

List of all members.


Detailed Description

Holds constants to speed up comparison of features.

The parameters A, B, C, Xmin, Xmax, Ymin, and Ymax were derived from each proto-feature to improve computational speed when comparing features (of the unknown sample) to proto-features (from the built-in template).

A, B, and C are the normalized parameters for the general form of a line, i.e. Ax+By+C=0.

A, B, and C are computed as follows:

Definition at line 49 of file tessclas.h.

Public Attributes


Member Data Documentation

double QUAD_SPEC::a

SLOPE * NORMALIZER

Definition at line 52 of file tessclas.h.

Referenced by make_tess_row().

double QUAD_SPEC::b

0 - NORMALIZER

Definition at line 54 of file tessclas.h.

Referenced by make_tess_row().

double QUAD_SPEC::c

INTERCEPT * NORMALIZER

Definition at line 56 of file tessclas.h.

Referenced by make_tess_row().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 28 19:49:33 2007 for Tesseract by  doxygen 1.5.1