@Name(value="JbClasser")
public static class lept.JBCLASSER
extends org.bytedeco.javacpp.Pointer
The JbClasser struct holds all the data accumulated during the classification process that can be used for a compressed jbig2-type representation of a set of images. This is created in an initialization process and added to as the selected components on each successive page are analyzed.
| Constructor and Description |
|---|
JBCLASSER()
Default native constructor.
|
JBCLASSER(long size)
Native array allocator.
|
JBCLASSER(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
baseindex()
on fully processed pages
|
lept.JBCLASSER |
baseindex(int baseindex) |
int |
components()
JB_WORDS
|
lept.JBCLASSER |
components(int components) |
lept.L_DNAHASH |
dahash()
Hash table to find templates by size
|
lept.JBCLASSER |
dahash(lept.L_DNAHASH dahash) |
int |
h()
max height of original src images
|
lept.JBCLASSER |
h(int h) |
int |
keep_pixaa()
If zero, pixaa isn't filled
|
lept.JBCLASSER |
keep_pixaa(int keep_pixaa) |
int |
maxheight()
max component height allowed
|
lept.JBCLASSER |
maxheight(int maxheight) |
int |
maxwidth()
max component width allowed
|
lept.JBCLASSER |
maxwidth(int maxwidth) |
int |
method()
JB_RANKHAUS, JB_CORRELATION
|
lept.JBCLASSER |
method(int method) |
lept.NUMA |
naarea()
extra border pixels
|
lept.JBCLASSER |
naarea(lept.NUMA naarea) |
lept.NUMA |
naclass()
array of class ids for each component
|
lept.JBCLASSER |
naclass(lept.NUMA naclass) |
lept.NUMA |
nacomps()
number of components on each page
|
lept.JBCLASSER |
nacomps(lept.NUMA nacomps) |
lept.NUMA |
nafgt()
only used for rank < 1.0
|
lept.JBCLASSER |
nafgt(lept.NUMA nafgt) |
lept.NUMA |
napage()
array of page nums for each component
|
lept.JBCLASSER |
napage(lept.NUMA napage) |
int |
nclass()
current number of classes
|
lept.JBCLASSER |
nclass(int nclass) |
int |
npages()
number of pages already processed
|
lept.JBCLASSER |
npages(int npages) |
lept.PIXAA |
pixaa()
instances for each class; unbordered
|
lept.JBCLASSER |
pixaa(lept.PIXAA pixaa) |
lept.PIXA |
pixat()
and not dilated
|
lept.JBCLASSER |
pixat(lept.PIXA pixat) |
lept.PIXA |
pixatd()
and dilated
|
lept.JBCLASSER |
pixatd(lept.PIXA pixatd) |
lept.JBCLASSER |
position(long position) |
lept.PTA |
ptac()
centroids of all bordered cc
|
lept.JBCLASSER |
ptac(lept.PTA ptac) |
lept.PTA |
ptact()
centroids of all bordered template cc
|
lept.JBCLASSER |
ptact(lept.PTA ptact) |
lept.PTA |
ptall()
similar to ptaul, but for LL corners
|
lept.JBCLASSER |
ptall(lept.PTA ptall) |
lept.PTA |
ptaul()
component
|
lept.JBCLASSER |
ptaul(lept.PTA ptaul) |
float |
rankhaus()
rank val of haus match, each way
|
lept.JBCLASSER |
rankhaus(float rankhaus) |
lept.SARRAY |
safiles()
input page image file names
|
lept.JBCLASSER |
safiles(lept.SARRAY safiles) |
int |
sizehaus()
size of square struct elem for haus
|
lept.JBCLASSER |
sizehaus(int sizehaus) |
float |
thresh()
thresh value for correlation score
|
lept.JBCLASSER |
thresh(float thresh) |
int |
w()
max width of original src images
|
lept.JBCLASSER |
w(int w) |
float |
weightfactor()
components; use 0 for no correction
|
lept.JBCLASSER |
weightfactor(float weightfactor) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic JBCLASSER()
public JBCLASSER(long size)
Pointer.position(long).public JBCLASSER(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public lept.JBCLASSER position(long position)
position in class org.bytedeco.javacpp.Pointerpublic lept.SARRAY safiles()
public lept.JBCLASSER safiles(lept.SARRAY safiles)
@Cast(value="l_int32") public int method()
public lept.JBCLASSER method(int method)
@Cast(value="l_int32") public int components()
public lept.JBCLASSER components(int components)
@Cast(value="l_int32") public int maxwidth()
public lept.JBCLASSER maxwidth(int maxwidth)
@Cast(value="l_int32") public int maxheight()
public lept.JBCLASSER maxheight(int maxheight)
@Cast(value="l_int32") public int npages()
public lept.JBCLASSER npages(int npages)
@Cast(value="l_int32") public int baseindex()
public lept.JBCLASSER baseindex(int baseindex)
public lept.NUMA nacomps()
public lept.JBCLASSER nacomps(lept.NUMA nacomps)
@Cast(value="l_int32") public int sizehaus()
public lept.JBCLASSER sizehaus(int sizehaus)
@Cast(value="l_float32") public float rankhaus()
public lept.JBCLASSER rankhaus(float rankhaus)
@Cast(value="l_float32") public float thresh()
public lept.JBCLASSER thresh(float thresh)
@Cast(value="l_float32") public float weightfactor()
public lept.JBCLASSER weightfactor(float weightfactor)
public lept.NUMA naarea()
public lept.JBCLASSER naarea(lept.NUMA naarea)
@Cast(value="l_int32") public int w()
public lept.JBCLASSER w(int w)
@Cast(value="l_int32") public int h()
public lept.JBCLASSER h(int h)
@Cast(value="l_int32") public int nclass()
public lept.JBCLASSER nclass(int nclass)
@Cast(value="l_int32") public int keep_pixaa()
public lept.JBCLASSER keep_pixaa(int keep_pixaa)
public lept.PIXAA pixaa()
public lept.JBCLASSER pixaa(lept.PIXAA pixaa)
public lept.PIXA pixat()
public lept.JBCLASSER pixat(lept.PIXA pixat)
public lept.PIXA pixatd()
public lept.JBCLASSER pixatd(lept.PIXA pixatd)
public lept.L_DNAHASH dahash()
public lept.JBCLASSER dahash(lept.L_DNAHASH dahash)
public lept.NUMA nafgt()
public lept.JBCLASSER nafgt(lept.NUMA nafgt)
public lept.PTA ptac()
public lept.JBCLASSER ptac(lept.PTA ptac)
public lept.PTA ptact()
public lept.JBCLASSER ptact(lept.PTA ptact)
public lept.NUMA naclass()
public lept.JBCLASSER naclass(lept.NUMA naclass)
public lept.NUMA napage()
public lept.JBCLASSER napage(lept.NUMA napage)
public lept.PTA ptaul()
public lept.JBCLASSER ptaul(lept.PTA ptaul)
public lept.PTA ptall()
public lept.JBCLASSER ptall(lept.PTA ptall)
Copyright © 2018. All rights reserved.