Package org.bytedeco.leptonica
Class L_DEWARP
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_DEWARP
- All Implemented Interfaces:
AutoCloseable
Data structure for a single dewarp
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
debug()
set to 1 if debug output requesteddebug
(int setter) dewa()
ptr to parent (not owned)full horiz disparity arrayfullhdispar
(FPIX setter) full vert disparity arrayfullvdispar
(FPIX setter) full slope h-disparity arrayfullydispar
(FPIX setter) getPointer
(long i) int
h()
height of source imageh
(int setter) int
hasref()
0 if normal; 1 if has a refpagehasref
(int setter) int
hsuccess()
sets to 1 if horiz disparity buildshsuccess
(int setter) int
hvalid()
sets to 1 if valid horiz disparityhvalid
(int setter) int
leftcurv()
left edge curvature in micro-unitsleftcurv
(int setter) int
left edge slope in milli-unitsleftslope
(int setter) int
maxcurv()
max line curvature in micro-unitsmaxcurv
(int setter) int
mincurv()
min line curvature in micro-unitsmincurv
(int setter) int
minlines()
min number of long lines requiredminlines
(int setter) nacurves()
sorted curvature of each linenamidys()
sorted y val of midpoint each lineint
nlines()
number of long lines foundnlines
(int setter) int
nx()
number of sampling pts in x-dirnx
(int setter) int
ny()
number of sampling pts in y-dirny
(int setter) int
pageno()
page number; important for reusepageno
(int setter) pixs()
source pix, 1 bppposition
(long position) int
reduction factor of pixs: 1 or 2redfactor
(int setter) int
refpage()
page with disparity model to userefpage
(int setter) int
right edge curvature in micro-unitsrightcurv
(int setter) int
right edge slope in milli-unitsrightslope
(int setter) sampled horiz disparity arraysamphdispar
(FPIX setter) int
sampling()
sampling factor of disparity arrayssampling
(int setter) sampled vert disparity arraysampvdispar
(FPIX setter) sampled slope h-disparity arraysampydispar
(FPIX setter) int
correctionskip_horiz
(int setter) int
vsuccess()
sets to 1 if vert disparity buildsvsuccess
(int setter) int
vvalid()
sets to 1 if valid vert disparityvvalid
(int setter) int
w()
width of source imagew
(int setter) int
ysuccess()
sets to 1 if slope disparity buildsysuccess
(int setter) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
L_DEWARP
public L_DEWARP()Default native constructor. -
L_DEWARP
public L_DEWARP(long size) Native array allocator. Access withPointer.position(long)
. -
L_DEWARP
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
dewa
ptr to parent (not owned) -
dewa
-
pixs
source pix, 1 bpp -
pixs
-
sampvdispar
sampled vert disparity array -
sampvdispar
-
samphdispar
sampled horiz disparity array -
samphdispar
-
sampydispar
sampled slope h-disparity array -
sampydispar
-
fullvdispar
full vert disparity array -
fullvdispar
-
fullhdispar
full horiz disparity array -
fullhdispar
-
fullydispar
full slope h-disparity array -
fullydispar
-
namidys
sorted y val of midpoint each line -
namidys
-
nacurves
sorted curvature of each line -
nacurves
-
w
width of source image -
w
-
h
height of source image -
h
-
pageno
page number; important for reuse -
pageno
-
sampling
sampling factor of disparity arrays -
sampling
-
redfactor
reduction factor of pixs: 1 or 2 -
redfactor
-
minlines
min number of long lines required -
minlines
-
nlines
number of long lines found -
nlines
-
mincurv
min line curvature in micro-units -
mincurv
-
maxcurv
max line curvature in micro-units -
maxcurv
-
leftslope
left edge slope in milli-units -
leftslope
-
rightslope
right edge slope in milli-units -
rightslope
-
leftcurv
left edge curvature in micro-units -
leftcurv
-
rightcurv
right edge curvature in micro-units -
rightcurv
-
nx
number of sampling pts in x-dir -
nx
-
ny
number of sampling pts in y-dir -
ny
-
hasref
0 if normal; 1 if has a refpage -
hasref
-
refpage
page with disparity model to use -
refpage
-
vsuccess
sets to 1 if vert disparity builds -
vsuccess
-
hsuccess
sets to 1 if horiz disparity builds -
hsuccess
-
ysuccess
sets to 1 if slope disparity builds -
ysuccess
-
vvalid
sets to 1 if valid vert disparity -
vvalid
-
hvalid
sets to 1 if valid horiz disparity -
hvalid
-
skip_horiz
correction -
skip_horiz
-
debug
set to 1 if debug output requested -
debug
-