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 Modifier and Type Class Description static class
L_Dewarp.ByReference
static class
L_Dewarp.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
debug
sets to 1 if debug output requested
C type : l_int32L_Dewarpa.ByReference
dewa
ptr to parent (not owned)
C type : L_Dewarpa*FPix.ByReference
fullhdispar
full horiz disparity array
C type : FPix*FPix.ByReference
fullvdispar
full vert disparity array
C type : FPix*FPix.ByReference
fullydispar
full slope h-disparity array
C type : FPix*int
h
height of source image
C type : l_int32int
hasref
0 if normal; 1 if has a refpage
C type : l_int32int
hsuccess
sets to 1 if horiz disparity builds
C type : l_int32int
hvalid
sets to 1 if valid horiz disparity
C type : l_int32int
leftcurv
left edge curvature in micro-units
C type : l_int32int
leftslope
left edge slope in milli-units
C type : l_int32int
maxcurv
max line curvature in micro-units
C type : l_int32int
mincurv
min line curvature in micro-units
C type : l_int32int
minlines
min number of long lines required
C type : l_int32Numa.ByReference
nacurves
sorted curvature of each line
C type : Numa*Numa.ByReference
namidys
sorted y val of midpoint each line
C type : Numa*int
nlines
number of long lines found
C type : l_int32int
nx
number of sampling pts in x-dir
C type : l_int32int
ny
number of sampling pts in y-dir
C type : l_int32int
pageno
page number; important for reuse
C type : l_int32Pix.ByReference
pixs
source pix, 1 bpp
C type : Pix*int
redfactor
reduction factor of pixs: 1 or 2
C type : l_int32int
refpage
page with disparity model to use
C type : l_int32int
rightcurv
right edge curvature in micro-units
C type : l_int32int
rightslope
right edge slope in milli-units
C type : l_int32FPix.ByReference
samphdispar
sampled horiz disparity array
C type : FPix*int
sampling
sampling factor of disparity arrays
C type : l_int32FPix.ByReference
sampvdispar
sampled vert disparity array
C type : FPix*FPix.ByReference
sampydispar
sampled slope h-disparity array
C type : FPix*int
skip_horiz
if 1, skip horiz disparity
C type : l_int32int
vsuccess
sets to 1 if vert disparity builds
C type : l_int32int
vvalid
sets to 1 if valid vert disparity
C type : l_int32int
w
width of source image
C type : l_int32int
ysuccess
sets to 1 if slope disparity builds
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
-
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
-
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
-