watershed.WatershedStructure Class Reference

List of all members.

Public Member Functions

 WatershedStructure (short[] pixels, int width, int height)
String toString ()
int size ()
WatershedPixel get (int i)

Detailed Description

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 08:57:08 2009 for Theba by  doxygen 1.6.1