public class L_Recog
extends com.sun.jna.Structure
Modifier and Type | Class and Description |
---|---|
static class |
L_Recog.ByReference |
static class |
L_Recog.ByValue |
Modifier and Type | Field and Description |
---|---|
float |
asperity_fr
+- allowed fractional asperity ratio
C type : l_float32 |
int |
ave_done
set to 1 when averaged bitmaps are made
C type : l_int32 |
L_Bmf.ByReference |
bmf
bmf fonts
C type : L_Bmf* |
int |
bmf_size
font size of bmf; default is 6 pt
C type : l_int32 |
com.sun.jna.Pointer |
bootdir
dir with bootstrap pixa charsets
C type : char* |
com.sun.jna.Pointer |
bootpath
path for single bootstrap pixa charset
C type : char* |
com.sun.jna.Pointer |
bootpattern
file pattern for bootstrap pixa charsets
C type : char* |
int |
bootrecog
1 if using bootstrap samples; else 0
C type : l_int32 |
com.sun.jna.ptr.IntByReference |
centtab
table for finding centroids
C type : l_int32* |
int |
charset_size
expected number of classes in charset
C type : l_int32 |
int |
charset_type
one of L_ARABIC_NUMERALS, etc.
C type : l_int32 |
L_Rdid.ByReference |
did
temp data used for image decoding
C type : L_Rdid* |
L_Dna.ByReference |
dna_tochar
index-to-char lut for arbitrary char set
C type : L_Dna* |
com.sun.jna.Pointer |
fname
serialized filename (if read)
C type : char* |
com.sun.jna.Pointer |
fontdir
directory for bitmapped fonts
C type : char* |
int |
index
recog index in recoga; -1 if no parent
C type : l_int32 |
int |
max_afterpad
max number of samples after padding
C type : l_int32 |
int |
max_splith
max component height kept in splitting
C type : l_int32 |
int |
maxarraysize
initialize container arrays to this
C type : l_int32 |
int |
maxheight_u
max height of averaged unscaled templates
C type : l_int32 |
int |
maxwidth
max width of averaged scaled templates
C type : l_int32 |
int |
maxwidth_u
max width of averaged unscaled templates
C type : l_int32 |
int |
maxyshift
vertical jiggle on nominal centroid
C type : l_int32 |
int |
min_nopad
min number of samples without padding
C type : l_int32 |
int |
min_splith
min component height kept in splitting
C type : l_int32 |
int |
min_splitw
min component width kept in splitting
C type : l_int32 |
int |
minheight_u
min height of averaged unscaled templates
C type : l_int32 |
int |
minwidth
min width of averaged scaled templates
C type : l_int32 |
int |
minwidth_u
min width of averaged unscaled templates
C type : l_int32 |
Numaa.ByReference |
naasum
area of all bitmap examples
C type : Numaa* |
Numaa.ByReference |
naasum_u
area of all unscaled bitmap examples
C type : Numaa* |
Numa.ByReference |
nasum
area of averaged bitmaps
C type : Numa* |
Numa.ByReference |
nasum_u
area of unscaled averaged bitmaps
C type : Numa* |
L_Recoga.ByReference |
parent
ptr to parent array; can be null
C type : L_Recoga* |
Pixa.ByReference |
pixa
averaged bitmaps for each class
C type : Pixa* |
Pixa.ByReference |
pixa_id
input images for identifying
C type : Pixa* |
Pixa.ByReference |
pixa_tr
input training images
C type : Pixa* |
Pixa.ByReference |
pixa_u
averaged unscaled bitmaps for each class
C type : Pixa* |
Pixaa.ByReference |
pixaa
all bitmap examples for each class
C type : Pixaa* |
Pixaa.ByReference |
pixaa_u
all unscaled bitmaps for each class
C type : Pixaa* |
Pixa.ByReference |
pixadb_ave
unscaled and scaled averaged bitmaps
C type : Pixa* |
Pixa.ByReference |
pixadb_boot
debug: bootstrap training results
C type : Pixa* |
Pixa.ByReference |
pixadb_split
debug: splitting results
C type : Pixa* |
Pix.ByReference |
pixdb_ave
debug: best match of input against ave.
C type : Pix* |
Pix.ByReference |
pixdb_range
debug: best matches within range
C type : Pix* |
Pta.ByReference |
pta
centroids of averaged bitmaps
C type : Pta* |
Pta.ByReference |
pta_u
centroids of unscaled averaged bitmaps
C type : Pta* |
Ptaa.ByReference |
ptaa
centroids of all bitmap examples
C type : Ptaa* |
Ptaa.ByReference |
ptaa_u
centroids of all unscaled bitmaps
C type : Ptaa* |
L_Rch.ByReference |
rch
temp data used for holding best char
C type : L_Rch* |
L_Rcha.ByReference |
rcha
temp data used for array of best chars
C type : L_Rcha* |
Sarray.ByReference |
sa_text
text array for arbitrary char set
C type : Sarray* |
int |
samplenum
keep track of number of training samples
C type : l_int32 |
int |
scaleh
scale all examples to this height;
C type : l_int32 |
int |
scalew
scale all examples to this width;
C type : l_int32 |
int |
setsize
size of character set
C type : l_int32 |
com.sun.jna.ptr.IntByReference |
sumtab
table for finding pixel sums
C type : l_int32* |
int |
templ_type
template type: either an average of
C type : l_int32 |
int |
threshold
for binarizing if depth > 1
C type : l_int32 |
int |
train_done
set to 1 when training is complete or
C type : l_int32 |
Constructor and Description |
---|
L_Recog() |
L_Recog(com.sun.jna.Pointer peer) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public int scalew
public int scaleh
public int templ_type
public int maxarraysize
public int setsize
public int threshold
public int maxyshift
public float asperity_fr
public int charset_type
public int charset_size
public com.sun.jna.Pointer bootdir
public com.sun.jna.Pointer bootpattern
public com.sun.jna.Pointer bootpath
public int min_nopad
public int max_afterpad
public int samplenum
public int minwidth_u
public int maxwidth_u
public int minheight_u
public int maxheight_u
public int minwidth
public int maxwidth
public int ave_done
public int train_done
public int min_splitw
public int min_splith
public int max_splith
public Sarray.ByReference sa_text
public L_Dna.ByReference dna_tochar
public com.sun.jna.ptr.IntByReference centtab
public com.sun.jna.ptr.IntByReference sumtab
public com.sun.jna.Pointer fname
public Pixaa.ByReference pixaa_u
public Pixa.ByReference pixa_u
public Ptaa.ByReference ptaa_u
public Pta.ByReference pta_u
public Numaa.ByReference naasum_u
public Numa.ByReference nasum_u
public Pixaa.ByReference pixaa
public Pixa.ByReference pixa
public Ptaa.ByReference ptaa
public Pta.ByReference pta
public Numaa.ByReference naasum
public Numa.ByReference nasum
public Pixa.ByReference pixa_tr
public Pixa.ByReference pixadb_ave
public Pixa.ByReference pixa_id
public Pix.ByReference pixdb_ave
public Pix.ByReference pixdb_range
public Pixa.ByReference pixadb_boot
public Pixa.ByReference pixadb_split
public com.sun.jna.Pointer fontdir
public L_Bmf.ByReference bmf
public int bmf_size
public L_Rdid.ByReference did
public L_Rch.ByReference rch
public L_Rcha.ByReference rcha
public int bootrecog
public int index
public L_Recoga.ByReference parent