Package net.sourceforge.lept4j
Class JbClasser
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.JbClasser
- Direct Known Subclasses:
JbClasser.ByReference,JbClasser.ByValue
public class JbClasser
extends com.sun.jna.Structure
native declaration : jbclass.h:29
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJbClasser.ByReferencestatic classJbClasser.ByValue -
Field Summary
Fields Modifier and Type Field Description intbaseindexnumber of components already processed
C type : l_int32intcomponentsJB_CONN_COMPS, JB_CHARACTERS or
C type : l_int32L_DnaHash.ByReferencedahashHash table to find templates by size
C type : L_DnaHash*inthmax height of original src images
C type : l_int32intkeep_pixaaIf zero, pixaa isn't filled
C type : l_int32intmaxheightmax component height allowed
C type : l_int32intmaxwidthmax component width allowed
C type : l_int32intmethodJB_RANKHAUS, JB_CORRELATION
C type : l_int32Numa.ByReferencenaareaw * h of each template, without extra
C type : Numa*Numa.ByReferencenaclassarray of class ids for each component
C type : Numa*Numa.ByReferencenacompsnumber of components on each page
C type : Numa*Numa.ByReferencenafgtfg areas of undilated templates;
C type : Numa*Numa.ByReferencenapagearray of page nums for each component
C type : Numa*intnclasscurrent number of classes
C type : l_int32intnpagesnumber of pages already processed
C type : l_int32Pixaa.ByReferencepixaainstances for each class; unbordered
C type : Pixaa*Pixa.ByReferencepixattemplates for each class; bordered
C type : Pixa*Pixa.ByReferencepixatdtemplates for each class; bordered
C type : Pixa*Pta.ByReferenceptaccentroids of all bordered cc
C type : Pta*Pta.ByReferenceptactcentroids of all bordered template cc
C type : Pta*Pta.ByReferenceptallsimilar to ptaul, but for LL corners
C type : Pta*Pta.ByReferenceptaularray of UL corners at which the
C type : Pta*floatrankhausrank val of haus match, each way
C type : l_float32Sarray.ByReferencesafilesinput page image file names
C type : Sarray*intsizehaussize of square struct element for haus
C type : l_int32floatthreshthresh value for correlation score
C type : l_float32intwmax width of original src images
C type : l_int32floatweightfactorcorrects thresh value for heaver
C type : l_float32 -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>getFieldOrder()Gets this Structure's field names in their proper order.Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
safiles
input page image file names
C type : Sarray* -
method
public int methodJB_RANKHAUS, JB_CORRELATION
C type : l_int32 -
components
public int componentsJB_CONN_COMPS, JB_CHARACTERS or
C type : l_int32 -
maxwidth
public int maxwidthmax component width allowed
C type : l_int32 -
maxheight
public int maxheightmax component height allowed
C type : l_int32 -
npages
public int npagesnumber of pages already processed
C type : l_int32 -
baseindex
public int baseindexnumber of components already processed
C type : l_int32 -
nacomps
number of components on each page
C type : Numa* -
sizehaus
public int sizehaussize of square struct element for haus
C type : l_int32 -
rankhaus
public float rankhausrank val of haus match, each way
C type : l_float32 -
thresh
public float threshthresh value for correlation score
C type : l_float32 -
weightfactor
public float weightfactorcorrects thresh value for heaver
C type : l_float32 -
naarea
w * h of each template, without extra
C type : Numa* -
w
public int wmax width of original src images
C type : l_int32 -
h
public int hmax height of original src images
C type : l_int32 -
nclass
public int nclasscurrent number of classes
C type : l_int32 -
keep_pixaa
public int keep_pixaaIf zero, pixaa isn't filled
C type : l_int32 -
pixaa
instances for each class; unbordered
C type : Pixaa* -
pixat
templates for each class; bordered
C type : Pixa* -
pixatd
templates for each class; bordered
C type : Pixa* -
dahash
Hash table to find templates by size
C type : L_DnaHash* -
nafgt
fg areas of undilated templates;
C type : Numa* -
ptac
centroids of all bordered cc
C type : Pta* -
ptact
centroids of all bordered template cc
C type : Pta* -
naclass
array of class ids for each component
C type : Numa* -
napage
array of page nums for each component
C type : Numa* -
ptaul
array of UL corners at which the
C type : Pta* -
ptall
similar to ptaul, but for LL corners
C type : Pta*
-
-
Constructor Details
-
Method Details
-
getFieldOrder
protected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
getFieldOrderin classcom.sun.jna.Structure- Returns:
- list of ordered field names
-