/home/rays/src/opensrc/tesseract-ocr/textord/drawtord.h File Reference

#include "params.h"
#include "scrollview.h"
#include "pitsync1.h"
#include "blobbox.h"
#include "notdll.h"

Go to the source code of this file.

Defines

#define NO_SMD   "none"

Functions

void create_to_win (ICOORD page_tr)
void close_to_win ()
void create_todebug_win ()
void plot_box_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour)
void plot_to_row (TO_ROW *row, ScrollView::Color colour, FCOORD rotation)
void plot_parallel_row (TO_ROW *row, float gradient, inT32 left, ScrollView::Color colour, FCOORD rotation)
void draw_occupation (inT32 xleft, inT32 ybottom, inT32 min_y, inT32 max_y, inT32 occupation[], inT32 thresholds[])
void draw_meanlines (TO_BLOCK *block, float gradient, inT32 left, ScrollView::Color colour, FCOORD rotation)
void plot_word_decisions (ScrollView *win, inT16 pitch, TO_ROW *row)
void plot_fp_cells (ScrollView *win, ScrollView::Color colour, BLOBNBOX_IT *blob_it, inT16 pitch, inT16 blob_count, STATS *projection, inT16 projection_left, inT16 projection_right, float projection_scale)
void plot_fp_cells2 (ScrollView *win, ScrollView::Color colour, TO_ROW *row, FPSEGPT_LIST *seg_list)
void plot_row_cells (ScrollView *win, ScrollView::Color colour, TO_ROW *row, float xshift, ICOORDELT_LIST *cells)

Variables

bool textord_show_fixed_cuts = FALSE
char * to_debugfile = DEBUG_WIN_NAME
char * to_smdfile = NO_SMD
ScrollViewto_win
FILE * to_debug

Define Documentation

#define NO_SMD   "none"

Function Documentation

void close_to_win (  ) 
void create_to_win ( ICOORD  page_tr  ) 
void create_todebug_win (  ) 
void draw_meanlines ( TO_BLOCK block,
float  gradient,
inT32  left,
ScrollView::Color  colour,
FCOORD  rotation 
)
void draw_occupation ( inT32  xleft,
inT32  ybottom,
inT32  min_y,
inT32  max_y,
inT32  occupation[],
inT32  thresholds[] 
)
void plot_box_list ( ScrollView win,
BLOBNBOX_LIST *  list,
ScrollView::Color  body_colour 
)
void plot_fp_cells ( ScrollView win,
ScrollView::Color  colour,
BLOBNBOX_IT *  blob_it,
inT16  pitch,
inT16  blob_count,
STATS projection,
inT16  projection_left,
inT16  projection_right,
float  projection_scale 
)
void plot_fp_cells2 ( ScrollView win,
ScrollView::Color  colour,
TO_ROW row,
FPSEGPT_LIST *  seg_list 
)
void plot_parallel_row ( TO_ROW row,
float  gradient,
inT32  left,
ScrollView::Color  colour,
FCOORD  rotation 
)
void plot_row_cells ( ScrollView win,
ScrollView::Color  colour,
TO_ROW row,
float  xshift,
ICOORDELT_LIST *  cells 
)
void plot_to_row ( TO_ROW row,
ScrollView::Color  colour,
FCOORD  rotation 
)
void plot_word_decisions ( ScrollView win,
inT16  pitch,
TO_ROW row 
)

Variable Documentation

"Draw fixed pitch cell boundaries"

FILE* to_debug
char* to_debugfile = DEBUG_WIN_NAME

"Name of debugfile"

char* to_smdfile = NO_SMD

"Name of SMD file"

Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3