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
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
if there are multiple columns,
C type : l_int32com.sun.jna.ptr.PointerByReference
array of ptrs to page dewarp
C type : L_Dewarp**com.sun.jna.ptr.PointerByReference
array of ptrs to cached dewarps
C type : L_Dewarp**int
maximum abs diff left-right
C type : l_int32int
maximum abs diff line
C type : l_int32int
maximum abs left or right edge
C type : l_int32int
maximum abs left or right edge
C type : l_int32int
maximum abs line curvature
C type : l_int32int
max distance for getting ref page
C type : l_int32int
maximum page number in array
C type : l_int32int
minimum abs diff line
C type : l_int32int
min number of long lines required
C type : l_int32int
invalid models have been removed
C type : l_int32int
size of dewarp ptr array
C type : l_int32list of page numbers for pages
C type : Numa*list of page numbers with either
C type : Numa*int
reduction factor of input: 1 or 2
C type : l_int32int
disparity arrays sampling factor
C type : l_int32int
use both disparity arrays if
C type : l_int32Fields 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
-
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
-
L_Dewarpa
public L_Dewarpa() -
L_Dewarpa
public L_Dewarpa(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
-