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.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    size of links array
    C type : l_int32
    int
    set to 1 for debug output
    C type : l_int32
    com.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_int32
    result: 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_int32
    int
    number of seeds (markers)
    C type : l_int32
    result: 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

    Constructors
    Constructor
    Description
     
    L_WShed​(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • pixs

      public Pix.ByReference pixs
      clone of input 8 bpp pixs
      C type : Pix*
    • pixm

      public Pix.ByReference pixm
      clone of input 1 bpp seed (marker) pixm
      C type : Pix*
    • mindepth

      public int mindepth
      minimum depth allowed for a watershed
      C type : l_int32
    • pixlab

      public Pix.ByReference pixlab
      16 bpp label pix
      C type : Pix*
    • pixt

      public Pix.ByReference pixt
      scratch pix for computing wshed regions
      C type : Pix*
    • lines8

      public com.sun.jna.ptr.PointerByReference lines8
      line ptrs for pixs
      C type : void**
    • linem1

      public com.sun.jna.ptr.PointerByReference linem1
      line ptrs for pixm
      C type : void**
    • linelab32

      public com.sun.jna.ptr.PointerByReference linelab32
      line ptrs for pixlab
      C type : void**
    • linet1

      public com.sun.jna.ptr.PointerByReference linet1
      line ptrs for pixt
      C type : void**
    • pixad

      public Pixa.ByReference pixad
      result: 1 bpp pixa of watersheds
      C type : Pixa*
    • ptas

      public Pta.ByReference ptas
      pta of initial seed pixels
      C type : Pta*
    • nasi

      public Numa.ByReference nasi
      numa of seed indicators; 0 if completed
      C type : Numa*
    • nash

      public Numa.ByReference nash
      numa of initial seed heights
      C type : Numa*
    • namh

      public Numa.ByReference namh
      numa of initial minima heights
      C type : Numa*
    • nalevels

      public Numa.ByReference nalevels
      result: numa of watershed levels
      C type : Numa*
    • nseeds

      public int nseeds
      number of seeds (markers)
      C type : l_int32
    • nother

      public int nother
      number of minima different from seeds
      C type : l_int32
    • lut

      public com.sun.jna.ptr.IntByReference lut
      lut for pixel indices
      C type : l_int32*
    • arraysize

      public int arraysize
      size of links array
      C type : l_int32
    • debug

      public int debug
      set 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

      protected List<String> getFieldOrder()
      Gets this Structure's field names in their proper order.
      Overrides:
      getFieldOrder in class com.sun.jna.Structure
      Returns:
      list of ordered field names