I
- The Type
of the RandomAccessible
from which to read blocks.public final class BlockReadSource<I extends RealType<I>> extends ViewableFunction implements IFunction, RandomAccessOnly<I>
Constructor and Description |
---|
BlockReadSource(RandomAccessible<I> src,
long blockRadius)
A block centered on a particular pixel.
|
BlockReadSource(RandomAccessible<I> src,
long[] blockRadius)
A block centered on a particular pixel.
|
BlockReadSource(RandomAccessible<I> src,
long[][] corners) |
Modifier and Type | Method and Description |
---|---|
RandomAccessible<I> |
getRandomAccessible() |
<O extends RealType<O>> |
reInit(O tmp,
Map<String,LetBinding<O>> bindings,
Converter<RealType<?>,O> converter,
Map<Variable<O>,OFunction<O>> imgSources) |
static byte[] |
signsArray(RandomAccessible<?> src) |
view, view, view, view, viewDouble, viewDouble, viewDouble
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRandomAccessOnly
public BlockReadSource(RandomAccessible<I> src, long[] blockRadius)
src
- A RandomAccessible
such as an @{code IntegralImg}, presumably a RandomAccessibleInterval
that was extended with an OutOfBounds
strategy.blockRadius
- Array of half of the length of each side of the block.public BlockReadSource(RandomAccessible<I> src, long blockRadius)
src
- A RandomAccessible
such as an @{code IntegralImg}, presumably a RandomAccessibleInterval
that was extended with an OutOfBounds
strategy.blockRadius
- Half of the length of the side of the block in every dimension.public BlockReadSource(RandomAccessible<I> src, long[][] corners)
src
- corners
- In coordinate moves relative to a pixel's location.public static byte[] signsArray(RandomAccessible<?> src)
public <O extends RealType<O>> OFunction<O> reInit(O tmp, Map<String,LetBinding<O>> bindings, Converter<RealType<?>,O> converter, Map<Variable<O>,OFunction<O>> imgSources)
public RandomAccessible<I> getRandomAccessible()
getRandomAccessible
in interface RandomAccessOnly<I extends RealType<I>>
Copyright © 2015–2022 ImgLib2. All rights reserved.