T - value type of the input image.public interface PartialComponent<T,C extends PartialComponent<T,C>>
BuildComponentTree to build the component
 tree of an image. In the algorithm described by D. Nister and H. Stewenius in
 "Linear Time Maximally Stable Extremal Regions" (ECCV 2008) a stack of
 incomplete components is maintained while visiting the pixels of the input
 image. PartialComponent represents an element on the component stack,
 i.e., a connected component in the making.
 
 It provides methods to get/set the threshold value for the connected
 component, to add pixels to the component, and to merge it with another
 component.
 
 BuildComponentTree uses a PartialComponent.Generator to
 create new components and emits completed components to a
 PartialComponent.Handler.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | PartialComponent.Generator<T,C extends PartialComponent<T,C>>Create new components. | 
| static interface  | PartialComponent.Handler<C>Handle completed components that are output by  BuildComponentTree. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPosition(Localizable position)Add a pixel to the set of pixels represented by this component. | 
| T | getValue()Get the threshold value (e.g., grey-level) for this component. | 
| void | merge(C component)Merge other component (of the same concrete type) into this component. | 
| void | setValue(T value)Set the threshold value (e.g., grey-level) for this component. | 
void setValue(T value)
value - the threshold valueT getValue()
void addPosition(Localizable position)
position - a pixel positionvoid merge(C component)
component - the other componentCopyright © 2015–2022 ImgLib2. All rights reserved.