|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.usp.ime.klava.segmentit.watershed.ClassicalWatershed
public class ClassicalWatershed
Implementations of algorithms of the classical watershed (one catchment basin for each regional minimum) and intermediary steps algorithms.
| Constructor Summary | |
|---|---|
ClassicalWatershed()
|
|
| Method Summary | |
|---|---|
static Pixel[][] |
byIFT(java.awt.image.BufferedImage image,
Connectivity conectivity)
Returns the classical watershed partition of image using the
regional minima given by locateRegionalMinima method as
markers in the watershed by IFT algorithm. |
static int |
byIFT(Pixel[][] pixels,
Connectivity connectivity)
Returns the classical watershed partition of pixels using
the regional minima given by locateRegionalMinima method as
markers in the watershed by IFT algorithm. |
static Pixel[][] |
byVincentSoille(java.awt.image.BufferedImage image,
Connectivity conectivity)
Returns the classical watershed partition of image using the
algorithm by Vincent & Soille. |
static int |
locateRegionalMinima(Pixel[][] pixels,
Connectivity connectivity)
Gives a unique label for each regional minima of the given pixels matrix. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassicalWatershed()
| Method Detail |
|---|
public static Pixel[][] byIFT(java.awt.image.BufferedImage image,
Connectivity conectivity)
throws ColorImageException
image using the
regional minima given by locateRegionalMinima method as
markers in the watershed by IFT algorithm.
image - the input imageconectivity - the adjacency relation from which the graph edges are derived
image
ColorImageException - if image is not a gray level imagelocateRegionalMinima(BufferedImage, Connectivity),
WatershedFromMarkers.byIFT(Pixel[][], BufferedImage, Connectivity,
LabelingCriterion)
public static int byIFT(Pixel[][] pixels,
Connectivity connectivity)
pixels using
the regional minima given by locateRegionalMinima method as
markers in the watershed by IFT algorithm.
pixels - the input matrix of Pixelsconnectivity - the adjacency relation from which the graph edges are derived
public static int locateRegionalMinima(Pixel[][] pixels,
Connectivity connectivity)
pixels matrix. It's derived from the algorithm by Vincent &
Soille.
pixels - the input matrix of Pixelsconnectivity - the adjacency relation from which the graph edges are derived
byVincentSoille(BufferedImage, Connectivity)
public static Pixel[][] byVincentSoille(java.awt.image.BufferedImage image,
Connectivity conectivity)
throws ColorImageException
image using the
algorithm by Vincent & Soille.
Watersheds in Digital Spaces: An Efficient Algorithm Based on Immersion Simulations
image - the input imageconectivity - the adjacency relation from which the graph edges are derived
image
ColorImageException - if image is not a gray level image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||