public final class PixelList extends Object implements Iterable<net.imglib2.Localizable>
RandomAccessible.
(the value at a given location in the RandomAccessible is the index
of the next location in the list.)| Modifier and Type | Class and Description |
|---|---|
class |
PixelList.PixelListIterator |
| Constructor and Description |
|---|
PixelList(PixelList l) |
PixelList(net.imglib2.RandomAccess<net.imglib2.type.numeric.integer.LongType> locationsAccess,
long[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPosition(net.imglib2.Localizable position)
Append a pixel location to the list.
|
void |
clear()
empty the list.
|
Iterator<net.imglib2.Localizable> |
iterator() |
void |
merge(PixelList l)
Append another
PixelList to this one. |
long |
size()
Get the size of the list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PixelList(net.imglib2.RandomAccess<net.imglib2.type.numeric.integer.LongType> locationsAccess, long[] dimensions)
locationsAccess - RandomAccess into the index image to store the linked list.dimensions - Dimensions of the index image.public PixelList(PixelList l)
public void addPosition(net.imglib2.Localizable position)
public Iterator<net.imglib2.Localizable> iterator()
iterator in interface Iterable<net.imglib2.Localizable>public long size()
public void clear()
Copyright © 2009–2026 ImgLib2. All rights reserved.