Class WatershedStructure

java.lang.Object
org.hortonmachine.lesto.modules.vegetation.watershed.WatershedStructure

public class WatershedStructure
extends java.lang.Object
WatershedStructure contains the pixels of the image ordered according to their grayscale value with a direct access to their neighbours.
  • Constructor Summary

    Constructors 
    Constructor Description
    WatershedStructure​(byte[] pixels, int cols, int rows, org.hortonmachine.gears.libs.monitor.IHMProgressMonitor pm)  
  • Method Summary

    Modifier and Type Method Description
    WatershedPixel get​(int i)  
    int size()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WatershedStructure

      public WatershedStructure​(byte[] pixels, int cols, int rows, org.hortonmachine.gears.libs.monitor.IHMProgressMonitor pm)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • size

      public int size()
    • get

      public WatershedPixel get​(int i)