T - The type of labels assigned to pixelsI - The pixel type of the backing image. The LabelingMapping
maps sets of labels to index values which can be more compactly
stored.public class ImgLabeling<T,I extends IntegerType<I>> extends AbstractWrappedInterval<RandomAccessibleInterval<I>> implements RandomAccessibleInterval<LabelingType<T>>, IterableInterval<LabelingType<T>>, SubIntervalIterable<LabelingType<T>>
image of integer
indices.LabelingMappingsourceInterval| Constructor and Description |
|---|
ImgLabeling(RandomAccessibleInterval<I> img) |
| Modifier and Type | Method and Description |
|---|---|
Cursor<LabelingType<T>> |
cursor() |
Cursor<LabelingType<T>> |
cursor(Interval interval) |
LabelingType<T> |
firstElement() |
RandomAccessibleInterval<I> |
getIndexImg() |
LabelingMapping<T> |
getMapping() |
Object |
iterationOrder() |
Iterator<LabelingType<T>> |
iterator() |
Cursor<LabelingType<T>> |
localizingCursor() |
Cursor<LabelingType<T>> |
localizingCursor(Interval interval) |
RandomAccess<LabelingType<T>> |
randomAccess() |
RandomAccess<LabelingType<T>> |
randomAccess(Interval interval) |
long |
size() |
Object |
subIntervalIterationOrder(Interval interval) |
boolean |
supportsOptimizedCursor(Interval interval) |
dimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorrealMax, realMax, realMax, realMin, realMin, realMindimension, dimensionsnumDimensionspublic ImgLabeling(RandomAccessibleInterval<I> img)
public LabelingMapping<T> getMapping()
public RandomAccess<LabelingType<T>> randomAccess()
randomAccess in interface RandomAccessible<LabelingType<T>>public RandomAccess<LabelingType<T>> randomAccess(Interval interval)
randomAccess in interface RandomAccessible<LabelingType<T>>public Cursor<LabelingType<T>> cursor()
cursor in interface IterableInterval<LabelingType<T>>cursor in interface IterableRealInterval<LabelingType<T>>public Cursor<LabelingType<T>> localizingCursor()
localizingCursor in interface IterableInterval<LabelingType<T>>localizingCursor in interface IterableRealInterval<LabelingType<T>>public LabelingType<T> firstElement()
firstElement in interface IterableRealInterval<LabelingType<T>>public Iterator<LabelingType<T>> iterator()
iterator in interface Iterable<LabelingType<T>>public long size()
size in interface IterableRealInterval<LabelingType<T>>public Object iterationOrder()
iterationOrder in interface IterableRealInterval<LabelingType<T>>public boolean supportsOptimizedCursor(Interval interval)
supportsOptimizedCursor in interface SubIntervalIterable<LabelingType<T>>public Object subIntervalIterationOrder(Interval interval)
subIntervalIterationOrder in interface SubIntervalIterable<LabelingType<T>>public Cursor<LabelingType<T>> cursor(Interval interval)
cursor in interface SubIntervalIterable<LabelingType<T>>public Cursor<LabelingType<T>> localizingCursor(Interval interval)
localizingCursor in interface SubIntervalIterable<LabelingType<T>>public RandomAccessibleInterval<I> getIndexImg()
Copyright © 2009–2018 ImgLib2. All rights reserved.