org.openimaj.image.processing.watershed.event
Interface ComponentStackMergeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
MergeTreeBuilder

public interface ComponentStackMergeListener
extends EventListener

Version:
$Author$, $Revision$, $Date$
Author:
David Dupplaw

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.
 

Method Detail

componentsMerged

void componentsMerged(Component c1,
                      Component c2)
Called when component c2 is merged into component c1. This will be called before the merge occurs, so component c1 will not contain the pixels of c2.

Parameters:
c1 - The component that is receiving the merge
c2 - The component that is providing the merge.

componentPromoted

void componentPromoted(Component c1)
Called when the given component c1 is upwardly promoted to a higher intensity value. The component will contain all the pixels at the higher level.

Parameters:
c1 - The component being promoted.


Copyright © 2011 The University of Southampton. All Rights Reserved.