O - The RealType.public class IterableRandomAccessibleFunction<C extends RealType<C>,O extends RealType<O>> extends AbstractInterval implements RandomAccessibleInterval<O>, IterableInterval<O>, 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 Converter<RealType<?>,C> |
inConverter |
protected IFunction |
operation |
protected 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,
Converter<RealType<?>,C> inConverter,
C computeType,
O outputType,
Converter<C,O> outConverter) |
IterableRandomAccessibleFunction(IFunction operation,
O outputType)
Use a default
Converter as defined by Util.genericRealTypeConverter(). |
IterableRandomAccessibleFunction(IFunction operation,
O outputType,
Converter<C,O> outConverter)
Use a default
Converter as defined by Util.genericRealTypeConverter(). |
| Modifier and Type | Method and Description |
|---|---|
Cursor<O> |
cursor() |
O |
firstElement() |
O |
getType() |
Object |
iterationOrder() |
Iterator<O> |
iterator() |
Cursor<O> |
localizingCursor() |
RandomAccess<O> |
randomAccess() |
RandomAccess<O> |
randomAccess(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
public IterableRandomAccessibleFunction(IFunction operation, Converter<RealType<?>,C> inConverter, C computeType, O outputType, 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, 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 RandomAccess<O> randomAccess()
randomAccess in interface RandomAccessible<O extends RealType<O>>public RandomAccess<O> randomAccess(Interval interval)
randomAccess in interface RandomAccessible<O extends RealType<O>>public O firstElement()
firstElement in interface IterableRealInterval<O extends RealType<O>>public Object iterationOrder()
iterationOrder in interface IterableRealInterval<O extends RealType<O>>iterationOrder in interface RandomAccessibleInterval<O extends RealType<O>>public long size()
size in interface IterableRealInterval<O extends RealType<O>>size in interface RandomAccessibleInterval<O extends RealType<O>>public Cursor<O> cursor()
cursor in interface IterableInterval<O extends RealType<O>>cursor in interface IterableRealInterval<O extends RealType<O>>cursor in interface RandomAccessibleInterval<O extends RealType<O>>public Cursor<O> localizingCursor()
localizingCursor in interface IterableInterval<O extends RealType<O>>localizingCursor in interface IterableRealInterval<O extends RealType<O>>localizingCursor in interface RandomAccessibleInterval<O extends RealType<O>>Copyright © 2009–2024 ImgLib2. All rights reserved.