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 classL_WShed.ByReferencestatic classL_WShed.ByValue -
Field Summary
Fields Modifier and Type Field Description intarraysizesize of links array
C type : l_int32intdebugset to 1 for debug output
C type : l_int32com.sun.jna.ptr.PointerByReferencelinelab32line ptrs for pixlab
C type : void**com.sun.jna.ptr.PointerByReferencelinem1line ptrs for pixm
C type : void**com.sun.jna.ptr.PointerByReferencelines8line ptrs for pixs
C type : void**com.sun.jna.ptr.PointerByReferencelinet1line ptrs for pixt
C type : void**Numa.ByReference[]linksback-links into lut, for updates
C type : Numa**com.sun.jna.ptr.IntByReferencelutlut for pixel indices
C type : l_int32*intmindepthminimum depth allowed for a watershed
C type : l_int32Numa.ByReferencenalevelsresult: numa of watershed levels
C type : Numa*Numa.ByReferencenamhnuma of initial minima heights
C type : Numa*Numa.ByReferencenashnuma of initial seed heights
C type : Numa*Numa.ByReferencenasinuma of seed indicators; 0 if completed
C type : Numa*intnothernumber of minima different from seeds
C type : l_int32intnseedsnumber of seeds (markers)
C type : l_int32Pixa.ByReferencepixadresult: 1 bpp pixa of watersheds
C type : Pixa*Pix.ByReferencepixlab16 bpp label pix
C type : Pix*Pix.ByReferencepixmclone of input 1 bpp seed (marker) pixm
C type : Pix*Pix.ByReferencepixsclone of input 8 bpp pixs
C type : Pix*Pix.ByReferencepixtscratch pix for computing wshed regions
C type : Pix*Pta.ByReferenceptaspta 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:
getFieldOrderin classcom.sun.jna.Structure- Returns:
- list of ordered field names
-