public class BlockReadingSource<I extends RealType<I>,O extends RealType<O>> extends Object implements OFunction<O>, RandomAccessOnly<I>
Modifier and Type | Field and Description |
---|---|
protected long[][] |
moves
First move is relative to the location, rest of moves are relative to prior move.
|
protected RandomAccess<I> |
ra |
protected O |
scrap |
protected byte[] |
signs |
protected O |
tmp |
Constructor and Description |
---|
BlockReadingSource(O scrap,
Converter<RealType<?>,O> converter,
RandomAccessible<I> src,
long[][] corners,
byte[] signs) |
Modifier and Type | Method and Description |
---|---|
List<OFunction<O>> |
children() |
O |
eval() |
O |
eval(Localizable loc) |
double |
evalDouble() |
double |
evalDouble(Localizable loc) |
RandomAccessible<I> |
getRandomAccessible() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRandomAccessOnly
protected final RandomAccess<I extends RealType<I>> ra
protected final long[][] moves
protected final byte[] signs
public O eval(Localizable loc)
public final double evalDouble()
evalDouble
in interface OFunction<O extends RealType<O>>
public final double evalDouble(Localizable loc)
evalDouble
in interface OFunction<O extends RealType<O>>
public RandomAccessible<I> getRandomAccessible()
getRandomAccessible
in interface RandomAccessOnly<I extends RealType<I>>
Copyright © 2015–2022 ImgLib2. All rights reserved.