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
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
number of components already processed
C type : l_int32int
JB_CONN_COMPS, JB_CHARACTERS or
C type : l_int32Hash table to find templates by size
C type : L_DnaHash*int
max height of original src images
C type : l_int32int
If zero, pixaa isn't filled
C type : l_int32int
max component height allowed
C type : l_int32int
max component width allowed
C type : l_int32int
JB_RANKHAUS, JB_CORRELATION
C type : l_int32w * h of each template, without extra
C type : Numa*array of class ids for each component
C type : Numa*number of components on each page
C type : Numa*fg areas of undilated templates;
C type : Numa*array of page nums for each component
C type : Numa*int
current number of classes
C type : l_int32int
number of pages already processed
C type : l_int32instances for each class; unbordered
C type : Pixaa*templates for each class; bordered
C type : Pixa*templates for each class; bordered
C type : Pixa*centroids of all bordered cc
C type : Pta*centroids of all bordered template cc
C type : Pta*similar to ptaul, but for LL corners
C type : Pta*array of UL corners at which the
C type : Pta*float
rank val of haus match, each way
C type : l_float32input page image file names
C type : Sarray*int
size of square struct element for haus
C type : l_int32float
thresh value for correlation score
C type : l_float32int
max width of original src images
C type : l_int32float
corrects thresh value for heaver
C type : l_float32Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets 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
-
JbClasser
public JbClasser() -
JbClasser
public JbClasser(com.sun.jna.Pointer peer)
-
-
Method Details
-
getFieldOrder
Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-