![]() |
Leptonica
1.82.0
Image processing and image analysis suite
|
Data Fields | |
l_int32 | scalew |
l_int32 | scaleh |
l_int32 | linew |
l_int32 | templ_use |
l_int32 | maxarraysize |
l_int32 | setsize |
l_int32 | threshold |
l_int32 | maxyshift |
l_int32 | charset_type |
l_int32 | charset_size |
l_int32 | min_nopad |
l_int32 | num_samples |
l_int32 | minwidth_u |
l_int32 | maxwidth_u |
l_int32 | minheight_u |
l_int32 | maxheight_u |
l_int32 | minwidth |
l_int32 | maxwidth |
l_int32 | ave_done |
l_int32 | train_done |
l_float32 | max_wh_ratio |
l_float32 | max_ht_ratio |
l_int32 | min_splitw |
l_int32 | max_splith |
struct Sarray * | sa_text |
struct L_Dna * | dna_tochar |
l_int32 * | centtab |
l_int32 * | sumtab |
struct Pixaa * | pixaa_u |
struct Ptaa * | ptaa_u |
struct Numaa * | naasum_u |
struct Pixaa * | pixaa |
struct Ptaa * | ptaa |
struct Numaa * | naasum |
struct Pixa * | pixa_u |
struct Pta * | pta_u |
struct Numa * | nasum_u |
struct Pixa * | pixa |
struct Pta * | pta |
struct Numa * | nasum |
struct Pixa * | pixa_tr |
struct Pixa * | pixadb_ave |
struct Pixa * | pixa_id |
struct Pix * | pixdb_ave |
struct Pix * | pixdb_range |
struct Pixa * | pixadb_boot |
struct Pixa * | pixadb_split |
struct L_Bmf * | bmf |
l_int32 | bmf_size |
struct L_Rdid * | did |
struct L_Rch * | rch |
struct L_Rcha * | rcha |
l_int32 L_Recog::ave_done |
set to 1 when averaged bitmaps are made
Definition at line 141 of file recog.h.
Referenced by recogAverageSamples().
struct L_Bmf* L_Recog::bmf |
bmf fonts
Definition at line 171 of file recog.h.
Referenced by recogDestroy(), recogDisplayOutlier(), and recogShowMatch().
l_int32* L_Recog::centtab |
table for finding centroids
Definition at line 150 of file recog.h.
Referenced by recogDestroy(), and recogTrainingFinished().
l_int32 L_Recog::charset_size |
expected number of classes in charset
Definition at line 132 of file recog.h.
Referenced by recogAddMissingClassStrings(), and recogIsPaddingNeeded().
l_int32 L_Recog::charset_type |
one of L_ARABIC_NUMERALS, etc.
Definition at line 131 of file recog.h.
Referenced by recogAddDigitPadTemplates(), recogAddMissingClassStrings(), and recogSetParams().
struct L_Rdid* L_Recog::did |
temp data used for image decoding
Definition at line 173 of file recog.h.
Referenced by recogCreateDid(), recogDestroyDid(), recogDidExists(), and recogGetDid().
struct L_Dna* L_Recog::dna_tochar |
index-to-char lut for arbitrary charset
Definition at line 149 of file recog.h.
Referenced by recogDestroy(), recogGetClassIndex(), and recogShowContent().
l_int32 L_Recog::linew |
use a value > 0 to convert the bitmap to lines of fixed width; 0 to skip
Definition at line 121 of file recog.h.
Referenced by recogModifyTemplate(), recogShowContent(), and recogTrainFromBoot().
l_float32 L_Recog::max_ht_ratio |
max of max/min template height ratio
Definition at line 145 of file recog.h.
Referenced by recogAverageSamples().
l_int32 L_Recog::max_splith |
max component height kept in splitting
Definition at line 147 of file recog.h.
Referenced by recogAverageSamples(), recogPreSplittingFilter(), and recogShowAverageTemplates().
l_float32 L_Recog::max_wh_ratio |
max width/height ratio to split
Definition at line 144 of file recog.h.
Referenced by recogPreSplittingFilter().
l_int32 L_Recog::maxarraysize |
initialize container arrays to this
Definition at line 126 of file recog.h.
Referenced by recogTrainingFinished().
l_int32 L_Recog::maxheight_u |
max height averaged unscaled templates
Definition at line 138 of file recog.h.
Referenced by recogAverageSamples(), recogExtractNumbers(), and recogShowAverageTemplates().
l_int32 L_Recog::maxwidth |
max width averaged scaled templates
Definition at line 140 of file recog.h.
Referenced by recogAverageSamples().
l_int32 L_Recog::maxwidth_u |
max width averaged unscaled templates
Definition at line 136 of file recog.h.
Referenced by recogAverageSamples(), and recogShowAverageTemplates().
l_int32 L_Recog::maxyshift |
vertical jiggle on nominal centroid alignment; typically 0 or 1
Definition at line 129 of file recog.h.
Referenced by recogPadDigitTrainingSet(), and recogShowContent().
l_int32 L_Recog::min_nopad |
min number of samples without padding
Definition at line 133 of file recog.h.
Referenced by recogIsPaddingNeeded().
l_int32 L_Recog::min_splitw |
min component width kept in splitting
Definition at line 146 of file recog.h.
Referenced by recogAverageSamples(), recogPreSplittingFilter(), and recogShowAverageTemplates().
l_int32 L_Recog::minheight_u |
min height averaged unscaled templates
Definition at line 137 of file recog.h.
Referenced by recogAverageSamples(), and recogShowAverageTemplates().
l_int32 L_Recog::minwidth |
min width averaged scaled templates
Definition at line 139 of file recog.h.
Referenced by recogAverageSamples().
l_int32 L_Recog::minwidth_u |
min width averaged unscaled templates
Definition at line 135 of file recog.h.
Referenced by recogAverageSamples(), and recogShowAverageTemplates().
struct Numaa* L_Recog::naasum |
area of all (scaled) templates
Definition at line 157 of file recog.h.
Referenced by recogDestroy(), and recogTrainingFinished().
struct Numaa* L_Recog::naasum_u |
area of all unscaled templates
Definition at line 154 of file recog.h.
Referenced by recogDestroy(), and recogTrainingFinished().
struct Numa* L_Recog::nasum |
area of (scaled) averaged templates
Definition at line 163 of file recog.h.
Referenced by recogAverageSamples(), and recogDestroy().
struct Numa* L_Recog::nasum_u |
area of unscaled averaged templates
Definition at line 160 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), and recogRunViterbi().
l_int32 L_Recog::num_samples |
number of training samples
Definition at line 134 of file recog.h.
Referenced by recogProcessLabeled().
struct Pixa* L_Recog::pixa |
averaged (scaled) templates per class
Definition at line 161 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), recogDisplayOutlier(), and recogShowAverageTemplates().
struct Pixa* L_Recog::pixa_id |
struct Pixa* L_Recog::pixa_tr |
all input training images
Definition at line 164 of file recog.h.
Referenced by recogDebugAverages(), and recogDestroy().
struct Pixa* L_Recog::pixa_u |
averaged unscaled templates per class
Definition at line 158 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), recogGetWindowedArea(), recogMakeDecodingArray(), recogShowAverageTemplates(), and recogShowPath().
struct Pixaa* L_Recog::pixaa |
all (scaled) templates for each class
Definition at line 155 of file recog.h.
Referenced by recogAverageSamples(), recogDebugAverages(), recogDestroy(), recogDisplayOutlier(), and recogTrainingFinished().
struct Pixaa* L_Recog::pixaa_u |
all unscaled templates for each class
Definition at line 152 of file recog.h.
Referenced by recogAddAllSamples(), recogAddCharstrLabels(), recogAddMissingClassStrings(), recogAverageSamples(), recogDestroy(), recogExtractPixa(), recogIsPaddingNeeded(), recogShowContent(), recogShowPath(), recogSortPixaByClass(), and recogTrainingFinished().
struct Pixa* L_Recog::pixadb_ave |
unscaled and scaled averaged bitmaps
Definition at line 165 of file recog.h.
Referenced by recogDestroy(), and recogShowAverageTemplates().
struct Pixa* L_Recog::pixadb_boot |
debug: bootstrap training results
Definition at line 169 of file recog.h.
Referenced by recogDestroy(), and recogTrainFromBoot().
struct Pixa* L_Recog::pixadb_split |
struct Pix* L_Recog::pixdb_ave |
debug: best match of input against ave.
Definition at line 167 of file recog.h.
Referenced by recogDebugAverages(), and recogDestroy().
struct Pix* L_Recog::pixdb_range |
debug: best matches within range
Definition at line 168 of file recog.h.
Referenced by recogDestroy().
struct Pta* L_Recog::pta |
centroids of (scaled) ave. templates
Definition at line 162 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), and recogShowAverageTemplates().
struct Pta* L_Recog::pta_u |
centroids of unscaled ave. templates
Definition at line 159 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), recogMakeDecodingArray(), and recogShowAverageTemplates().
struct Ptaa* L_Recog::ptaa |
centroids of all (scaledl) templates
Definition at line 156 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), and recogTrainingFinished().
struct Ptaa* L_Recog::ptaa_u |
centroids of all unscaled templates
Definition at line 153 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), and recogTrainingFinished().
struct L_Rch* L_Recog::rch |
temp data used for holding best char
Definition at line 174 of file recog.h.
Referenced by recogDebugAverages(), recogDestroy(), recogIdentifyPixa(), recogRescoreDidResult(), recogShowMatchesInRange(), recogSkipIdentify(), recogTrainFromBoot(), and recogTransferRchToDid().
struct L_Rcha* L_Recog::rcha |
temp data used for array of best chars
Definition at line 175 of file recog.h.
Referenced by recogDestroy(), recogExtractNumbers(), and recogIdentifyPixa().
struct Sarray* L_Recog::sa_text |
text array for arbitrary char set
Definition at line 148 of file recog.h.
Referenced by recogAddAllSamples(), recogAddCharstrLabels(), recogAddMissingClassStrings(), recogDestroy(), recogGetClassIndex(), recogGetClassString(), and recogIsPaddingNeeded().
l_int32 L_Recog::scaleh |
scale all examples to this height; use 0 prevent vertical scaling
Definition at line 119 of file recog.h.
Referenced by recogModifyTemplate(), recogPreSplittingFilter(), recogShowContent(), and recogTrainFromBoot().
l_int32 L_Recog::scalew |
scale all examples to this width; use 0 prevent horizontal scaling
Definition at line 117 of file recog.h.
Referenced by recogModifyTemplate(), recogPreSplittingFilter(), and recogShowContent().
l_int32 L_Recog::setsize |
size of character set
Definition at line 127 of file recog.h.
Referenced by recogAverageSamples(), recogCreateDid(), recogGetClassIndex(), recogGetClassString(), recogGetCount(), recogShowAverageTemplates(), recogShowContent(), recogStringToIndex(), and recogTrainingFinished().
l_int32* L_Recog::sumtab |
table for finding pixel sums
Definition at line 151 of file recog.h.
Referenced by recogAverageSamples(), recogDestroy(), recogGetWindowedArea(), recogMakeDecodingArray(), and recogTrainingFinished().
l_int32 L_Recog::templ_use |
l_int32 L_Recog::threshold |
for binarizing if depth > 1
Definition at line 128 of file recog.h.
Referenced by recogPadDigitTrainingSet(), and recogShowContent().
l_int32 L_Recog::train_done |
set to 1 when training is complete or identification has started
Definition at line 142 of file recog.h.
Referenced by recogIdentifyMultiple(), recogSplitIntoCharacters(), and recogTrainingFinished().