|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openimaj.image.processing.watershed.MergeTreeBuilder
public class MergeTreeBuilder
A listener that listens to the watershed algorithm progress and creates a region tree as the processing takes place.
| Constructor Summary | |
|---|---|
MergeTreeBuilder()
Default constructor |
|
| Method Summary | |
|---|---|
void |
componentPromoted(Component c1)
Called when the given component c1 is upwardly promoted to a higher intensity value. |
void |
componentsMerged(Component c1,
Component c2)
Called when component c2 is merged into component c1. |
TreeNode<Component> |
getTree()
Return the tree that has been built. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergeTreeBuilder()
| Method Detail |
|---|
public void componentsMerged(Component c1,
Component c2)
componentsMerged in interface ComponentStackMergeListenerc1 - The component that is receiving the mergec2 - The component that is providing the merge.ComponentStackMergeListener.componentsMerged(org.openimaj.image.processing.watershed.Component, org.openimaj.image.processing.watershed.Component)public void componentPromoted(Component c1)
componentPromoted in interface ComponentStackMergeListenerc1 - The component being promoted.ComponentStackMergeListener.componentPromoted(org.openimaj.image.processing.watershed.Component)public TreeNode<Component> getTree()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||