public interface Component<T,C extends Component<T,C>> extends Iterable<Localizable>
ComponentTree. The
child and parent nodes can be accessed by getChildren() and
getParent(). The set of pixels can be accessed by iterating (
Iterable.iterator()) the component. The threshold value that created the
component (extremal region) can be obtained by value().| Modifier and Type | Method and Description |
|---|---|
List<C> |
getChildren()
Get the children of this node in the
ComponentTree. |
C |
getParent()
Get the parent of this node in the
ComponentTree. |
long |
size()
Get the number of pixels in the connected component.
|
T |
value()
Get the image threshold that created the connected component (extremal
region).
|
forEach, iterator, spliteratorlong size()
T value()
C getParent()
ComponentTree.ComponentTree.List<C> getChildren()
ComponentTree.ComponentTree.Copyright © 2015–2022 ImgLib2. All rights reserved.