Public Member Functions | |
| WatershedStructure (short[] pixels, int width, int height) | |
| String | toString () |
| int | size () |
| WatershedPixel | get (int i) |
WatershedStructure contains the pixels of the image ordered according to their grayscale value with a direct access to their neighbours.
Definition at line 39 of file WatershedStructure.java.
| watershed.WatershedStructure.WatershedStructure | ( | short[] | pixels, | |
| int | width, | |||
| int | height | |||
| ) |
The structure is filled with the pixels of the image. *
The WatershedPixels are then filled with the reference to their neighbours. *
Definition at line 42 of file WatershedStructure.java.
References watershed.WatershedPixel.addNeighbour().
| WatershedPixel watershed.WatershedStructure.get | ( | int | i | ) |
Definition at line 152 of file WatershedStructure.java.
Referenced by watershed.Watershed_Algorithm.run().
| int watershed.WatershedStructure.size | ( | ) |
Definition at line 148 of file WatershedStructure.java.
Referenced by watershed.Watershed_Algorithm.run().
| String watershed.WatershedStructure.toString | ( | ) |
Definition at line 128 of file WatershedStructure.java.
1.6.1