All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::AssociateStats Struct Reference

#include <associate.h>

Public Member Functions

 AssociateStats ()
 
void Clear ()
 
void Print ()
 

Public Attributes

float shape_cost
 
bool bad_shape
 
float full_wh_ratio
 
float full_wh_ratio_total
 
float full_wh_ratio_var
 
bool bad_fixed_pitch_right_gap
 
bool bad_fixed_pitch_wh_ratio
 
int gap_sum
 

Detailed Description

Definition at line 36 of file associate.h.

Constructor & Destructor Documentation

tesseract::AssociateStats::AssociateStats ( )
inline

Definition at line 37 of file associate.h.

37 { Clear(); }

Member Function Documentation

void tesseract::AssociateStats::Clear ( )
inline

Definition at line 39 of file associate.h.

39  {
40  shape_cost = 0.0f;
41  bad_shape = false;
42  full_wh_ratio = 0.0f;
43  full_wh_ratio_total = 0.0f;
44  full_wh_ratio_var = 0.0f;
47  gap_sum = 0;
48  }
void tesseract::AssociateStats::Print ( )
inline

Definition at line 50 of file associate.h.

50  {
51  tprintf("AssociateStats: w(%g %d) s(%g %d)\n", shape_cost, bad_shape);
52  }
#define tprintf(...)
Definition: tprintf.h:31

Member Data Documentation

bool tesseract::AssociateStats::bad_fixed_pitch_right_gap

Definition at line 60 of file associate.h.

bool tesseract::AssociateStats::bad_fixed_pitch_wh_ratio

Definition at line 62 of file associate.h.

bool tesseract::AssociateStats::bad_shape

Definition at line 55 of file associate.h.

float tesseract::AssociateStats::full_wh_ratio

Definition at line 56 of file associate.h.

float tesseract::AssociateStats::full_wh_ratio_total

Definition at line 57 of file associate.h.

float tesseract::AssociateStats::full_wh_ratio_var

Definition at line 59 of file associate.h.

int tesseract::AssociateStats::gap_sum

Definition at line 64 of file associate.h.

float tesseract::AssociateStats::shape_cost

Definition at line 54 of file associate.h.


The documentation for this struct was generated from the following file: