textord/tovars.cpp

Go to the documentation of this file.
00001 
00020 #include "mfcpch.h"
00021 #include          "tovars.h"
00022 
00023 #define EXTERN
00024 
00027 EXTERN BOOL_VAR (textord_show_initial_words, FALSE, "Display separate words");
00028 EXTERN BOOL_VAR (textord_show_new_words, FALSE, "Display separate words");
00029 EXTERN BOOL_VAR (textord_show_fixed_words, FALSE,
00030 "Display forced fixed pitch words");
00031 EXTERN BOOL_VAR (textord_blocksall_fixed, FALSE, "Moan about prop blocks");
00032 EXTERN BOOL_VAR (textord_blocksall_prop, FALSE,
00033 "Moan about fixed pitch blocks");
00034 EXTERN BOOL_VAR (textord_blocksall_testing, FALSE, "Dump stats when moaning");
00035 EXTERN BOOL_VAR (textord_test_mode, FALSE, "Do current test");
00036 EXTERN BOOL_VAR (textord_repeat_extraction, TRUE, "Extract repeated chars");
00037 EXTERN INT_VAR (textord_dotmatrix_gap, 3,
00038 "Max pixel gap for broken pixed pitch");
00039 EXTERN INT_VAR (textord_repeat_threshold, 4,
00040 "Min multiple for repeated char");
00041 EXTERN INT_VAR (textord_debug_block, 0, "Block to do debug on");
00042 EXTERN INT_VAR (textord_pitch_range, 2, "Max range test on pitch");
00043 EXTERN double_VAR (textord_repeat_rating, 6, "Min rating for equal blobs");
00044 EXTERN double_VAR (textord_wordstats_smooth_factor, 0.05,
00045 "Smoothing gap stats");
00046 EXTERN double_VAR (textord_width_smooth_factor, 0.10,
00047 "Smoothing width stats");
00048 EXTERN double_VAR (textord_words_width_ile, 0.4,
00049 "Ile of blob widths for space est");
00050 EXTERN double_VAR (textord_words_maxspace, 4.0, "Multiple of xheight");
00051 EXTERN double_VAR (textord_words_default_maxspace, 3.5,
00052 "Max believable third space");
00053 EXTERN double_VAR (textord_words_default_minspace, 0.6,
00054 "Fraction of xheight");
00055 EXTERN double_VAR (textord_words_min_minspace, 0.3, "Fraction of xheight");
00056 EXTERN double_VAR (textord_words_default_nonspace, 0.2,
00057 "Fraction of xheight");
00058 EXTERN double_VAR (textord_words_initial_lower, 0.25,
00059 "Max inital cluster size");
00060 EXTERN double_VAR (textord_words_initial_upper, 0.15,
00061 "Min initial cluster spacing");
00062 EXTERN double_VAR (textord_words_minlarge, 0.75,
00063 "Fraction of valid gaps needed");
00064 EXTERN double_VAR (textord_words_pitchsd_threshold, 0.040,
00065 "Pitch sync threshold");
00066 EXTERN double_VAR (textord_words_def_fixed, 0.016,
00067 "Threshold for definite fixed");
00068 EXTERN double_VAR (textord_words_def_prop, 0.090,
00069 "Threshold for definite prop");
00070 EXTERN INT_VAR (textord_words_veto_power, 5,
00071 "Rows required to outvote a veto");
00072 EXTERN double_VAR (textord_pitch_rowsimilarity, 0.08,
00073 "Fraction of xheight for sameness");
00074 EXTERN BOOL_VAR (textord_pitch_scalebigwords, FALSE,
00075 "Scale scores on big words");
00076 EXTERN double_VAR (words_initial_lower, 0.5, "Max inital cluster size");
00077 EXTERN double_VAR (words_initial_upper, 0.15, "Min initial cluster spacing");
00078 EXTERN double_VAR (words_default_prop_nonspace, 0.25, "Fraction of xheight");
00079 EXTERN double_VAR (words_default_fixed_space, 0.75, "Fraction of xheight");
00080 EXTERN double_VAR (words_default_fixed_limit, 0.6, "Allowed size variance");
00081 EXTERN double_VAR (textord_words_definite_spread, 0.30,
00082 "Non-fuzzy spacing region");
00083 EXTERN double_VAR (textord_spacesize_ratiofp, 2.8,
00084 "Min ratio space/nonspace");
00085 EXTERN double_VAR (textord_spacesize_ratioprop, 2.0,
00086 "Min ratio space/nonspace");
00087 EXTERN double_VAR (textord_fpiqr_ratio, 1.5, "Pitch IQR/Gap IQR threshold");
00088 EXTERN double_VAR (textord_max_pitch_iqr, 0.20, "Xh fraction noise in pitch");
00089 EXTERN double_VAR (textord_fp_min_width, 0.5, "Min width of decent blobs");

Generated on Wed Feb 28 19:49:12 2007 for Tesseract by  doxygen 1.5.1