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 classL_Dewarpa.ByReferencestatic classL_Dewarpa.ByValue -
Field Summary
Fields Modifier and Type Field Description intcheck_columnsif there are multiple columns,
C type : l_int32com.sun.jna.ptr.PointerByReferencedewarparray of ptrs to page dewarp
C type : L_Dewarp**com.sun.jna.ptr.PointerByReferencedewarpcachearray of ptrs to cached dewarps
C type : L_Dewarp**intmax_diff_edgecurvmaximum abs diff left-right
C type : l_int32intmax_diff_linecurvmaximum abs diff line
C type : l_int32intmax_edgecurvmaximum abs left or right edge
C type : l_int32intmax_edgeslopemaximum abs left or right edge
C type : l_int32intmax_linecurvmaximum abs line curvature
C type : l_int32intmaxdistmax distance for getting ref page
C type : l_int32intmaxpagemaximum page number in array
C type : l_int32intmin_diff_linecurvminimum abs diff line
C type : l_int32intminlinesmin number of long lines required
C type : l_int32intmodelsreadyinvalid models have been removed
C type : l_int32intnallocsize of dewarp ptr array
C type : l_int32Numa.ByReferencenamodelslist of page numbers for pages
C type : Numa*Numa.ByReferencenapageslist of page numbers with either
C type : Numa*intredfactorreduction factor of input: 1 or 2
C type : l_int32intsamplingdisparity arrays sampling factor
C type : l_int32intusebothuse 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:
getFieldOrderin classcom.sun.jna.Structure- Returns:
- list of ordered field names
-