public class Block extends Object
Constructor and Description |
---|
Block(long[] blockSize,
long[] offset,
long[] effectiveSize,
long[] effectiveOffset,
long[] effectiveLocalOffset,
boolean isPrecise) |
Modifier and Type | Method and Description |
---|---|
void |
copyBlock(RandomAccessible<FloatType> source,
RandomAccessibleInterval<FloatType> block) |
void |
finalize() |
long[] |
getBlockSize() |
boolean |
isPrecise() |
static void |
main(String[] args) |
void |
pasteBlock(RandomAccessibleInterval<FloatType> target,
RandomAccessibleInterval<FloatType> block) |
public Block(long[] blockSize, long[] offset, long[] effectiveSize, long[] effectiveOffset, long[] effectiveLocalOffset, boolean isPrecise)
public long[] getBlockSize()
public boolean isPrecise()
public void copyBlock(RandomAccessible<FloatType> source, RandomAccessibleInterval<FloatType> block)
source
- - needs to be extended with an OutOfBounds in case the block extends past the boundaries of the RandomAccessibleIntervalblock
- - the Block to copy it topublic void pasteBlock(RandomAccessibleInterval<FloatType> target, RandomAccessibleInterval<FloatType> block)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.