Package net.sourceforge.lept4j
Class L_Dewarpa
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Dewarpa
- Direct Known Subclasses:
L_Dewarpa.ByReference
,L_Dewarpa.ByValue
public class L_Dewarpa
extends com.sun.jna.Structure
Data structure to hold a number of Dewarp
native declaration : dewarp.h:19
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.
native declaration : dewarp.h:19
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 class
L_Dewarpa.ByReference
static class
L_Dewarpa.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
check_columns
if there are multiple columns,
C type : l_int32com.sun.jna.ptr.PointerByReference
dewarp
array of ptrs to page dewarp
C type : L_Dewarp**com.sun.jna.ptr.PointerByReference
dewarpcache
array of ptrs to cached dewarps
C type : L_Dewarp**int
max_diff_edgecurv
maximum abs diff left-right
C type : l_int32int
max_diff_linecurv
maximum abs diff line
C type : l_int32int
max_edgecurv
maximum abs left or right edge
C type : l_int32int
max_edgeslope
maximum abs left or right edge
C type : l_int32int
max_linecurv
maximum abs line curvature
C type : l_int32int
maxdist
max distance for getting ref page
C type : l_int32int
maxpage
maximum page number in array
C type : l_int32int
min_diff_linecurv
minimum abs diff line
C type : l_int32int
minlines
min number of long lines required
C type : l_int32int
modelsready
invalid models have been removed
C type : l_int32int
nalloc
size of dewarp ptr array
C type : l_int32Numa.ByReference
namodels
list of page numbers for pages
C type : Numa*Numa.ByReference
napages
list of page numbers with either
C type : Numa*int
redfactor
reduction factor of input: 1 or 2
C type : l_int32int
sampling
disparity arrays sampling factor
C type : l_int32int
useboth
use both disparity arrays if
C type : l_int32 -
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
-
nalloc
public int nallocsize of dewarp ptr array
C type : l_int32 -
maxpage
public int maxpagemaximum page number in array
C type : l_int32 -
dewarp
public com.sun.jna.ptr.PointerByReference dewarparray of ptrs to page dewarp
C type : L_Dewarp** -
dewarpcache
public com.sun.jna.ptr.PointerByReference dewarpcachearray of ptrs to cached dewarps
C type : L_Dewarp** -
namodels
list of page numbers for pages
C type : Numa* -
napages
list of page numbers with either
C type : Numa* -
redfactor
public int redfactorreduction factor of input: 1 or 2
C type : l_int32 -
sampling
public int samplingdisparity arrays sampling factor
C type : l_int32 -
minlines
public int minlinesmin number of long lines required
C type : l_int32 -
maxdist
public int maxdistmax distance for getting ref page
C type : l_int32 -
max_linecurv
public int max_linecurvmaximum abs line curvature
C type : l_int32 -
min_diff_linecurv
public int min_diff_linecurvminimum abs diff line
C type : l_int32 -
max_diff_linecurv
public int max_diff_linecurvmaximum abs diff line
C type : l_int32 -
max_edgeslope
public int max_edgeslopemaximum abs left or right edge
C type : l_int32 -
max_edgecurv
public int max_edgecurvmaximum abs left or right edge
C type : l_int32 -
max_diff_edgecurv
public int max_diff_edgecurvmaximum abs diff left-right
C type : l_int32 -
useboth
public int usebothuse both disparity arrays if
C type : l_int32 -
check_columns
public int check_columnsif there are multiple columns,
C type : l_int32 -
modelsready
public int modelsreadyinvalid models have been removed
C type : l_int32
-
-
Constructor Details
-
Method Details
-
getFieldOrder
protected java.util.List<java.lang.String> getFieldOrder()Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-