public class JbClasser
extends com.sun.jna.Structure
| Modifier and Type | Class | Description |
|---|---|---|
static class |
JbClasser.ByReference |
|
static class |
JbClasser.ByValue |
| Modifier and Type | Field | Description |
|---|---|---|
int |
baseindex |
number of components already processed
C type : l_int32 |
int |
components |
JB_CONN_COMPS, JB_CHARACTERS or
C type : l_int32 |
L_DnaHash.ByReference |
dahash |
Hash table to find templates by size
C type : L_DnaHash* |
int |
h |
max height of original src images
C type : l_int32 |
int |
keep_pixaa |
If zero, pixaa isn't filled
C type : l_int32 |
int |
maxheight |
max component height allowed
C type : l_int32 |
int |
maxwidth |
max component width allowed
C type : l_int32 |
int |
method |
JB_RANKHAUS, JB_CORRELATION
C type : l_int32 |
Numa.ByReference |
naarea |
w * h of each template, without extra
C type : Numa* |
Numa.ByReference |
naclass |
array of class ids for each component
C type : Numa* |
Numa.ByReference |
nacomps |
number of components on each page
C type : Numa* |
Numa.ByReference |
nafgt |
fg areas of undilated templates;
C type : Numa* |
Numa.ByReference |
napage |
array of page nums for each component
C type : Numa* |
int |
nclass |
current number of classes
C type : l_int32 |
int |
npages |
number of pages already processed
C type : l_int32 |
Pixaa.ByReference |
pixaa |
instances for each class; unbordered
C type : Pixaa* |
Pixa.ByReference |
pixat |
templates for each class; bordered
C type : Pixa* |
Pixa.ByReference |
pixatd |
templates for each class; bordered
C type : Pixa* |
Pta.ByReference |
ptac |
centroids of all bordered cc
C type : Pta* |
Pta.ByReference |
ptact |
centroids of all bordered template cc
C type : Pta* |
Pta.ByReference |
ptall |
similar to ptaul, but for LL corners
C type : Pta* |
Pta.ByReference |
ptaul |
array of UL corners at which the
C type : Pta* |
float |
rankhaus |
rank val of haus match, each way
C type : l_float32 |
Sarray.ByReference |
safiles |
input page image file names
C type : Sarray* |
int |
sizehaus |
size of square struct element for haus
C type : l_int32 |
float |
thresh |
thresh value for correlation score
C type : l_float32 |
int |
w |
max width of original src images
C type : l_int32 |
float |
weightfactor |
corrects thresh value for heaver
C type : l_float32 |
| Constructor | Description |
|---|---|
JbClasser() |
|
JbClasser(com.sun.jna.Pointer peer) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<java.lang.String> |
getFieldOrder() |
Gets this Structure's field names in their proper order.
|
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, writeFieldpublic Sarray.ByReference safiles
public int method
public int components
public int maxwidth
public int maxheight
public int npages
public int baseindex
public Numa.ByReference nacomps
public int sizehaus
public float rankhaus
public float thresh
public float weightfactor
public Numa.ByReference naarea
public int w
public int h
public int nclass
public int keep_pixaa
public Pixaa.ByReference pixaa
public Pixa.ByReference pixat
public Pixa.ByReference pixatd
public L_DnaHash.ByReference dahash
public Numa.ByReference nafgt
public Pta.ByReference ptac
public Pta.ByReference ptact
public Numa.ByReference naclass
public Numa.ByReference napage
public Pta.ByReference ptaul
public Pta.ByReference ptall
Copyright © 2026. All rights reserved.