tesseract-doxygen/wordrec/bestfirst.h File Reference

#include "associate.h"
#include "blobs.h"
#include "closed.h"
#include "oldheap.h"
#include "ratngs.h"
#include "seam.h"
#include "states.h"
#include "stopper.h"
#include "tessclas.h"

Go to the source code of this file.

Classes

struct  SEARCH_RECORD

Functions

int chunks_width (WIDTH_RECORD *width_record, int start_chunk, int last_chunk)
int chunks_gap (WIDTH_RECORD *width_record, int last_chunk)
void delete_search (SEARCH_RECORD *the_search)
SEARCH_RECORDnew_search (CHUNKS_RECORD *chunks_record, int num_joints, WERD_CHOICE *best_choice, WERD_CHOICE *raw_choice, STATE *state)
STATEpop_queue (HEAP *queue)
void push_queue (HEAP *queue, STATE *state, FLOAT32 worst_priority, FLOAT32 priority)
void replace_char_widths (CHUNKS_RECORD *chunks_record, SEARCH_STATE state)
BLOB_CHOICE_LIST * join_blobs_and_classify (TBLOB *blobs, SEAMS seam_list, int x, int y, int fx)

Variables

int wordrec_num_seg_states = 30
double wordrec_worst_state = 1

Function Documentation

int chunks_gap ( WIDTH_RECORD width_record,
int  last_chunk 
)
int chunks_width ( WIDTH_RECORD width_record,
int  start_chunk,
int  last_chunk 
)
void delete_search ( SEARCH_RECORD the_search  ) 

delete_search

Terminate the current search and free all the memory involved.

BLOB_CHOICE_LIST* join_blobs_and_classify ( TBLOB blobs,
SEAMS  seam_list,
int  x,
int  y,
int  fx 
)
SEARCH_RECORD* new_search ( CHUNKS_RECORD chunks_record,
int  num_joints,
WERD_CHOICE best_choice,
WERD_CHOICE raw_choice,
STATE state 
)
STATE* pop_queue ( HEAP queue  ) 
void push_queue ( HEAP queue,
STATE state,
FLOAT32  worst_priority,
FLOAT32  priority 
)
void replace_char_widths ( CHUNKS_RECORD chunks_record,
SEARCH_STATE  state 
)

Variable Documentation

"Segmentation states"

double wordrec_worst_state = 1

"Worst segmentation state"

Generated on Sun Jul 18 17:10:52 2010 for Tesseract by  doxygen 1.6.3