|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.usp.ime.klava.segmentit.watershed.WatershedFromMarkers
public class WatershedFromMarkers
Implements the watershed from markers by IFT algorithm.
The Image Foresting Transform: Theory, Algorithms, and Applications
| Constructor Summary | |
|---|---|
WatershedFromMarkers()
|
|
| Method Summary | |
|---|---|
static Pixel[][] |
byIFT(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage markers,
Connectivity connectivity,
LabelingCriterion labelingCriterion)
Returns a partition of image using the given
markers in the watershed by the IFT algorithm. |
static int |
byIFT(Pixel[][] pixels,
java.awt.image.BufferedImage markers,
Connectivity connectivity,
LabelingCriterion labelingCriterion)
Refreshes the partition contained in pixels using the given
markers in the watershed by the IFT algorithm. |
static int[] |
byIFT(PrimitiveCatchmentBasinsGraph graph,
java.awt.image.BufferedImage markers,
LabelingCriterion labelingCriterion)
Returns a labeling of the vertices of the given graph using
the given markers in the watershed by the IFT algorithm. |
static void |
propagateMarkersLabels(Pixel[][] pixels,
Connectivity connectivity)
Propagates the labels of the markers Pixels in pixels by
the IFT algorithm. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WatershedFromMarkers()
| Method Detail |
|---|
public static Pixel[][] byIFT(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage markers,
Connectivity connectivity,
LabelingCriterion labelingCriterion)
throws ColorImageException
image using the given
markers in the watershed by the IFT algorithm.
image - the input imagemarkers - the markers imageconnectivity - the adjacency relation from which the graph edges are derivedlabelingCriterion - the criterion for labeling markers
image
ColorImageException - if image is not a gray level image
public static int byIFT(Pixel[][] pixels,
java.awt.image.BufferedImage markers,
Connectivity connectivity,
LabelingCriterion labelingCriterion)
pixels using the given
markers in the watershed by the IFT algorithm.
pixels - the Pixels matrixmarkers - the markers imageconnectivity - the adjacency relation from which the graph edges are derivedlabelingCriterion - the criterion for labeling markers
public static void propagateMarkersLabels(Pixel[][] pixels,
Connectivity connectivity)
Pixels in pixels by
the IFT algorithm.
pixels - the Pixels matrixconnectivity - the adjacency relation from which the graph edges are derived
public static int[] byIFT(PrimitiveCatchmentBasinsGraph graph,
java.awt.image.BufferedImage markers,
LabelingCriterion labelingCriterion)
graph using
the given markers in the watershed by the IFT algorithm.
graph - a graph of primitive catchment basinsmarkers - the markers imagelabelingCriterion - the criterion for labeling markers
graph using
the given markers in the watershed by IFT algorithm
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||