O - The RealType.public class IterableRandomAccessibleFunction<C extends net.imglib2.type.numeric.RealType<C>,O extends net.imglib2.type.numeric.RealType<O>> extends net.imglib2.AbstractInterval implements net.imglib2.RandomAccessibleInterval<O>, net.imglib2.IterableInterval<O>, net.imglib2.View
View of the computation defined by an IFunction.
The dimensions are those of the first input RandomAccessibleInterval found.
(the computation will fail if images do not have the same dimensions.)
If an output type is not defined, then the RealType of the first RandomAccessibleInterval found is used.| Modifier and Type | Field and Description |
|---|---|
protected C |
computeType |
protected net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> |
inConverter |
protected IFunction |
operation |
protected net.imglib2.converter.Converter<C,O> |
outConverter |
protected O |
outputType |
max, minn| Constructor and Description |
|---|
IterableRandomAccessibleFunction(IFunction operation)
Use a the same
RealType as the first input RandomAccessibleInterval found,
and a default Converter as defined by Util.genericRealTypeConverter(). |
IterableRandomAccessibleFunction(IFunction operation,
net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> inConverter,
C computeType,
O outputType,
net.imglib2.converter.Converter<C,O> outConverter) |
IterableRandomAccessibleFunction(IFunction operation,
O outputType)
Use a default
Converter as defined by Util.genericRealTypeConverter(). |
IterableRandomAccessibleFunction(IFunction operation,
O outputType,
net.imglib2.converter.Converter<C,O> outConverter)
Use a default
Converter as defined by Util.genericRealTypeConverter(). |
| Modifier and Type | Method and Description |
|---|---|
net.imglib2.Cursor<O> |
cursor() |
O |
firstElement() |
O |
getType() |
Object |
iterationOrder() |
Iterator<O> |
iterator() |
net.imglib2.Cursor<O> |
localizingCursor() |
net.imglib2.RandomAccess<O> |
randomAccess() |
net.imglib2.RandomAccess<O> |
randomAccess(net.imglib2.Interval interval) |
long |
size() |
dimension, dimensions, max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitviewgetAt, getAt, getAtlocalizingSpliterator, spliteratorparallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsprotected final IFunction operation
protected final C extends net.imglib2.type.numeric.RealType<C> computeType
protected final O extends net.imglib2.type.numeric.RealType<O> outputType
protected final net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C extends net.imglib2.type.numeric.RealType<C>> inConverter
protected final net.imglib2.converter.Converter<C extends net.imglib2.type.numeric.RealType<C>,O extends net.imglib2.type.numeric.RealType<O>> outConverter
public IterableRandomAccessibleFunction(IFunction operation, net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> inConverter, C computeType, O outputType, net.imglib2.converter.Converter<C,O> outConverter)
operation - inConverter - Can be nullcomputeType - outputType - outConverter - Can be null.public IterableRandomAccessibleFunction(IFunction operation, O outputType)
Converter as defined by Util.genericRealTypeConverter().public IterableRandomAccessibleFunction(IFunction operation, O outputType, net.imglib2.converter.Converter<C,O> outConverter)
Converter as defined by Util.genericRealTypeConverter().public IterableRandomAccessibleFunction(IFunction operation)
RealType as the first input RandomAccessibleInterval found,
and a default Converter as defined by Util.genericRealTypeConverter().public net.imglib2.RandomAccess<O> randomAccess()
randomAccess in interface net.imglib2.RandomAccessible<O extends net.imglib2.type.numeric.RealType<O>>public net.imglib2.RandomAccess<O> randomAccess(net.imglib2.Interval interval)
randomAccess in interface net.imglib2.RandomAccessible<O extends net.imglib2.type.numeric.RealType<O>>public O firstElement()
firstElement in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>public Object iterationOrder()
iterationOrder in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>iterationOrder in interface net.imglib2.RandomAccessibleInterval<O extends net.imglib2.type.numeric.RealType<O>>public long size()
size in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>size in interface net.imglib2.RandomAccessibleInterval<O extends net.imglib2.type.numeric.RealType<O>>public Iterator<O> iterator()
iterator in interface Iterable<O extends net.imglib2.type.numeric.RealType<O>>iterator in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>public net.imglib2.Cursor<O> cursor()
cursor in interface net.imglib2.IterableInterval<O extends net.imglib2.type.numeric.RealType<O>>cursor in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>cursor in interface net.imglib2.RandomAccessibleInterval<O extends net.imglib2.type.numeric.RealType<O>>public net.imglib2.Cursor<O> localizingCursor()
localizingCursor in interface net.imglib2.IterableInterval<O extends net.imglib2.type.numeric.RealType<O>>localizingCursor in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>localizingCursor in interface net.imglib2.RandomAccessibleInterval<O extends net.imglib2.type.numeric.RealType<O>>public O getType()
getType in interface net.imglib2.IterableRealInterval<O extends net.imglib2.type.numeric.RealType<O>>getType in interface net.imglib2.Typed<O extends net.imglib2.type.numeric.RealType<O>>Copyright © 2009–2026 ImgLib2. All rights reserved.