Class L_WShed

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  L_WShed.ByReference  
      static class  L_WShed.ByValue  
      • Nested classes/interfaces inherited from class com.sun.jna.Structure

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

      Fields 
      Modifier and Type Field Description
      int arraysize
      size of links array
      C type : l_int32
      int debug
      set to 1 for debug output
      C type : l_int32
      com.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_int32
      Numa.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_int32
      int nseeds
      number of seeds (markers)
      C type : l_int32
      Pixa.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*
      • 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()  
      L_WShed​(com.sun.jna.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<?> getFieldOrder()  
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, 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 Detail

      • 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
      • 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*
      • links

        public Numa.ByReference[] links
        back-links into lut, for updates
        C type : Numa**
      • 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 Detail

      • L_WShed

        public L_WShed()
      • L_WShed

        public L_WShed​(com.sun.jna.Pointer peer)
    • Method Detail

      • getFieldOrder

        protected java.util.List<?> getFieldOrder()
        Specified by:
        getFieldOrder in class com.sun.jna.Structure