Package net.sourceforge.lept4j
Class L_WShed
java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.L_WShed
- Direct Known Subclasses:
L_WShed.ByReference
,L_WShed.ByValue
public class L_WShed
extends com.sun.jna.Structure
watershed.h
Simple data structure to hold watershed data.
native declaration : watershed.h:27
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.
Simple data structure to hold watershed data.
native declaration : watershed.h:27
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_WShed.ByReference
static class
L_WShed.ByValue
-
Field Summary
Fields Modifier and Type Field Description int
arraysize
size of links array
C type : l_int32int
debug
set to 1 for debug output
C type : l_int32com.sun.jna.ptr.PointerByReference
linelab32
line ptrs for pixlab
C type : void**com.sun.jna.ptr.PointerByReference
linem1
line ptrs for pixm
C type : void**com.sun.jna.ptr.PointerByReference
lines8
line ptrs for pixs
C type : void**com.sun.jna.ptr.PointerByReference
linet1
line ptrs for pixt
C type : void**Numa.ByReference[]
links
back-links into lut, for updates
C type : Numa**com.sun.jna.ptr.IntByReference
lut
lut for pixel indices
C type : l_int32*int
mindepth
minimum depth allowed for a watershed
C type : l_int32Numa.ByReference
nalevels
result: numa of watershed levels
C type : Numa*Numa.ByReference
namh
numa of initial minima heights
C type : Numa*Numa.ByReference
nash
numa of initial seed heights
C type : Numa*Numa.ByReference
nasi
numa of seed indicators; 0 if completed
C type : Numa*int
nother
number of minima different from seeds
C type : l_int32int
nseeds
number of seeds (markers)
C type : l_int32Pixa.ByReference
pixad
result: 1 bpp pixa of watersheds
C type : Pixa*Pix.ByReference
pixlab
16 bpp label pix
C type : Pix*Pix.ByReference
pixm
clone of input 1 bpp seed (marker) pixm
C type : Pix*Pix.ByReference
pixs
clone of input 8 bpp pixs
C type : Pix*Pix.ByReference
pixt
scratch pix for computing wshed regions
C type : Pix*Pta.ByReference
ptas
pta of initial seed pixels
C type : Pta* -
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
-
pixs
clone of input 8 bpp pixs
C type : Pix* -
pixm
clone of input 1 bpp seed (marker) pixm
C type : Pix* -
mindepth
public int mindepthminimum depth allowed for a watershed
C type : l_int32 -
pixlab
16 bpp label pix
C type : Pix* -
pixt
scratch pix for computing wshed regions
C type : Pix* -
lines8
public com.sun.jna.ptr.PointerByReference lines8line ptrs for pixs
C type : void** -
linem1
public com.sun.jna.ptr.PointerByReference linem1line ptrs for pixm
C type : void** -
linelab32
public com.sun.jna.ptr.PointerByReference linelab32line ptrs for pixlab
C type : void** -
linet1
public com.sun.jna.ptr.PointerByReference linet1line ptrs for pixt
C type : void** -
pixad
result: 1 bpp pixa of watersheds
C type : Pixa* -
ptas
pta of initial seed pixels
C type : Pta* -
nasi
numa of seed indicators; 0 if completed
C type : Numa* -
nash
numa of initial seed heights
C type : Numa* -
namh
numa of initial minima heights
C type : Numa* -
nalevels
result: numa of watershed levels
C type : Numa* -
nseeds
public int nseedsnumber of seeds (markers)
C type : l_int32 -
nother
public int nothernumber of minima different from seeds
C type : l_int32 -
lut
public com.sun.jna.ptr.IntByReference lutlut for pixel indices
C type : l_int32* -
links
back-links into lut, for updates
C type : Numa** -
arraysize
public int arraysizesize of links array
C type : l_int32 -
debug
public int debugset to 1 for debug output
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
-