public class BlockGeneratorVariableSizeSimple extends Object implements BlockGenerator<Block>
| Constructor and Description |
|---|
BlockGeneratorVariableSizeSimple(long[] numBlocksDim) |
| Modifier and Type | Method and Description |
|---|---|
Block[] |
divideIntoBlocks(long[] imgSize,
long[] kernelSize)
Divides an image into blocks
|
static void |
main(String[] args) |
public BlockGeneratorVariableSizeSimple(long[] numBlocksDim)
public Block[] divideIntoBlocks(long[] imgSize, long[] kernelSize)
divideIntoBlocks in interface BlockGenerator<Block>imgSize - - the size of the imagekernelSize - - the size of the kernel (has to be odd!)public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.