T
- value type of the input image.public final class PixelListComponent<T extends Type<T>> extends Object implements Component<T,PixelListComponent<T>>
value()
. The set
of pixels can be accessed by iterating (iterator()
) the component.
This is a node in a PixelListComponentTree
. The child and parent
nodes can be accessed by getChildren()
and getParent()
.Modifier and Type | Method and Description |
---|---|
ArrayList<PixelListComponent<T>> |
getChildren()
Get the children of this node in the
PixelListComponentTree . |
PixelListComponent<T> |
getParent()
Get the parent of this node in the
PixelListComponentTree . |
Iterator<Localizable> |
iterator()
Get an iterator over the pixel locations (
Localizable ) in this
connected component. |
long |
size()
Get the number of pixels in the extremal region.
|
T |
value()
Get the image threshold that created the extremal region.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public T value()
public long size()
public Iterator<Localizable> iterator()
Localizable
) in this
connected component.iterator
in interface Iterable<Localizable>
public ArrayList<PixelListComponent<T>> getChildren()
PixelListComponentTree
.getChildren
in interface Component<T extends Type<T>,PixelListComponent<T extends Type<T>>>
PixelListComponentTree
.public PixelListComponent<T> getParent()
PixelListComponentTree
.getParent
in interface Component<T extends Type<T>,PixelListComponent<T extends Type<T>>>
PixelListComponentTree
.Copyright © 2015–2022 ImgLib2. All rights reserved.