Package org.bytedeco.leptonica
Class L_WSHED
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_WSHED
- All Implemented Interfaces:
AutoCloseable
Simple data structure to hold watershed data.
-
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
size of links arrayarraysize
(int setter) int
debug()
set to 1 for debug outputdebug
(int setter) getPointer
(long i) linelab32
(int i) line ptrs for pixlablinelab32
(PointerPointer setter) linem1()
linem1
(int i) line ptrs for pixmlinem1
(PointerPointer setter) lines8()
lines8
(int i) line ptrs for pixslines8
(PointerPointer setter) linet1()
linet1
(int i) line ptrs for pixtlinet1
(PointerPointer setter) links()
links
(int i) back-links into lut, for updateslinks
(PointerPointer setter) lut()
lut for pixel indiceslut
(IntPointer setter) int
mindepth()
minimum depth allowed for a watershedmindepth
(int setter) nalevels()
result: numa of watershed levelsnamh()
numa of initial minima heightsnash()
numa of initial seed heightsnasi()
numa of seed indicators; 0 if completedint
nother()
number of minima different from seedsnother
(int setter) int
nseeds()
number of seeds (markers)nseeds
(int setter) pixad()
result: 1 bpp pixa of watershedspixlab()
16 bpp label pixpixm()
clone of input 1 bpp seed (marker) pixmpixs()
clone of input 8 bpp pixspixt()
scratch pix for computing wshed regionsposition
(long position) ptas()
pta of initial seed pixelsMethods 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_WSHED
public L_WSHED()Default native constructor. -
L_WSHED
public L_WSHED(long size) Native array allocator. Access withPointer.position(long)
. -
L_WSHED
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
pixs
clone of input 8 bpp pixs -
pixs
-
pixm
clone of input 1 bpp seed (marker) pixm -
pixm
-
mindepth
minimum depth allowed for a watershed -
mindepth
-
pixlab
16 bpp label pix -
pixlab
-
pixt
scratch pix for computing wshed regions -
pixt
-
lines8
line ptrs for pixs -
lines8
-
lines8
-
lines8
-
linem1
line ptrs for pixm -
linem1
-
linem1
-
linem1
-
linelab32
line ptrs for pixlab -
linelab32
-
linelab32
-
linelab32
-
linet1
line ptrs for pixt -
linet1
-
linet1
-
linet1
-
pixad
result: 1 bpp pixa of watersheds -
pixad
-
ptas
pta of initial seed pixels -
ptas
-
nasi
numa of seed indicators; 0 if completed -
nasi
-
nash
numa of initial seed heights -
nash
-
namh
numa of initial minima heights -
namh
-
nalevels
result: numa of watershed levels -
nalevels
-
nseeds
number of seeds (markers) -
nseeds
-
nother
number of minima different from seeds -
nother
-
lut
lut for pixel indices -
lut
-
links
back-links into lut, for updates -
links
-
links
-
links
-
arraysize
size of links array -
arraysize
-
debug
set to 1 for debug output -
debug
-