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/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
Modifier and TypeFieldDescriptionint
size of links array
C type : l_int32int
set to 1 for debug output
C type : l_int32com.sun.jna.ptr.PointerByReference
line ptrs for pixlab
C type : void**com.sun.jna.ptr.PointerByReference
line ptrs for pixm
C type : void**com.sun.jna.ptr.PointerByReference
line ptrs for pixs
C type : void**com.sun.jna.ptr.PointerByReference
line ptrs for pixt
C type : void**back-links into lut, for updates
C type : Numa**com.sun.jna.ptr.IntByReference
lut for pixel indices
C type : l_int32*int
minimum depth allowed for a watershed
C type : l_int32result: numa of watershed levels
C type : Numa*numa of initial minima heights
C type : Numa*numa of initial seed heights
C type : Numa*numa of seed indicators; 0 if completed
C type : Numa*int
number of minima different from seeds
C type : l_int32int
number of seeds (markers)
C type : l_int32result: 1 bpp pixa of watersheds
C type : Pixa*16 bpp label pix
C type : Pix*clone of input 1 bpp seed (marker) pixm
C type : Pix*clone of input 8 bpp pixs
C type : Pix*scratch pix for computing wshed regions
C type : Pix*pta of initial seed pixels
C type : Pta*Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets 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
-
L_WShed
public L_WShed() -
L_WShed
public L_WShed(com.sun.jna.Pointer peer)
-
-
Method Details
-
getFieldOrder
Gets this Structure's field names in their proper order.- Overrides:
getFieldOrder
in classcom.sun.jna.Structure
- Returns:
- list of ordered field names
-