Package net.sourceforge.lept4j
Class L_Dewarp
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_Dewarp
- Direct Known Subclasses:
L_Dewarp.ByReference
,L_Dewarp.ByValue
public class L_Dewarp
extends com.sun.jna.Structure
Data structure for a single dewarp
native declaration : dewarp.h:52
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:52
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/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
sets to 1 if debug output requested
C type : l_int32ptr to parent (not owned)
C type : L_Dewarpa*full horiz disparity array
C type : FPix*full vert disparity array
C type : FPix*full slope h-disparity array
C type : FPix*int
height of source image
C type : l_int32int
0 if normal; 1 if has a refpage
C type : l_int32int
sets to 1 if horiz disparity builds
C type : l_int32int
sets to 1 if valid horiz disparity
C type : l_int32int
left edge curvature in micro-units
C type : l_int32int
left edge slope in milli-units
C type : l_int32int
max line curvature in micro-units
C type : l_int32int
min line curvature in micro-units
C type : l_int32int
min number of long lines required
C type : l_int32sorted curvature of each line
C type : Numa*sorted y val of midpoint each line
C type : Numa*int
number of long lines found
C type : l_int32int
number of sampling pts in x-dir
C type : l_int32int
number of sampling pts in y-dir
C type : l_int32int
page number; important for reuse
C type : l_int32source pix, 1 bpp
C type : Pix*int
reduction factor of pixs: 1 or 2
C type : l_int32int
page with disparity model to use
C type : l_int32int
right edge curvature in micro-units
C type : l_int32int
right edge slope in milli-units
C type : l_int32sampled horiz disparity array
C type : FPix*int
sampling factor of disparity arrays
C type : l_int32sampled vert disparity array
C type : FPix*sampled slope h-disparity array
C type : FPix*int
if 1, skip horiz disparity
C type : l_int32int
sets to 1 if vert disparity builds
C type : l_int32int
sets to 1 if valid vert disparity
C type : l_int32int
width of source image
C type : l_int32int
sets to 1 if slope disparity builds
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
-
dewa
ptr to parent (not owned)
C type : L_Dewarpa* -
pixs
source pix, 1 bpp
C type : Pix* -
sampvdispar
sampled vert disparity array
C type : FPix* -
samphdispar
sampled horiz disparity array
C type : FPix* -
sampydispar
sampled slope h-disparity array
C type : FPix* -
fullvdispar
full vert disparity array
C type : FPix* -
fullhdispar
full horiz disparity array
C type : FPix* -
fullydispar
full slope h-disparity array
C type : FPix* -
namidys
sorted y val of midpoint each line
C type : Numa* -
nacurves
sorted curvature of each line
C type : Numa* -
w
public int wwidth of source image
C type : l_int32 -
h
public int hheight of source image
C type : l_int32 -
pageno
public int pagenopage number; important for reuse
C type : l_int32 -
sampling
public int samplingsampling factor of disparity arrays
C type : l_int32 -
redfactor
public int redfactorreduction factor of pixs: 1 or 2
C type : l_int32 -
minlines
public int minlinesmin number of long lines required
C type : l_int32 -
nlines
public int nlinesnumber of long lines found
C type : l_int32 -
mincurv
public int mincurvmin line curvature in micro-units
C type : l_int32 -
maxcurv
public int maxcurvmax line curvature in micro-units
C type : l_int32 -
leftslope
public int leftslopeleft edge slope in milli-units
C type : l_int32 -
rightslope
public int rightsloperight edge slope in milli-units
C type : l_int32 -
leftcurv
public int leftcurvleft edge curvature in micro-units
C type : l_int32 -
rightcurv
public int rightcurvright edge curvature in micro-units
C type : l_int32 -
nx
public int nxnumber of sampling pts in x-dir
C type : l_int32 -
ny
public int nynumber of sampling pts in y-dir
C type : l_int32 -
hasref
public int hasref0 if normal; 1 if has a refpage
C type : l_int32 -
refpage
public int refpagepage with disparity model to use
C type : l_int32 -
vsuccess
public int vsuccesssets to 1 if vert disparity builds
C type : l_int32 -
hsuccess
public int hsuccesssets to 1 if horiz disparity builds
C type : l_int32 -
ysuccess
public int ysuccesssets to 1 if slope disparity builds
C type : l_int32 -
vvalid
public int vvalidsets to 1 if valid vert disparity
C type : l_int32 -
hvalid
public int hvalidsets to 1 if valid horiz disparity
C type : l_int32 -
skip_horiz
public int skip_horizif 1, skip horiz disparity
C type : l_int32 -
debug
public int debugsets to 1 if debug output requested
C type : l_int32
-
-
Constructor Details
-
L_Dewarp
public L_Dewarp() -
L_Dewarp
public L_Dewarp(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
-