public class Block extends Object
| Constructor and Description |
|---|
Block(int[] blockSize,
int[] offset,
int[] effectiveSize,
int[] effectiveOffset,
int[] effectiveLocalOffset,
boolean inside) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyBlock(Image<FloatType> source,
Image<FloatType> block) |
static Block[] |
divideIntoBlocks(int[] imgSize,
int[] blockSize,
int[] kernelSize)
Divides an image into blocks
|
static void |
main(String[] args) |
void |
pasteBlock(Image<FloatType> target,
Image<FloatType> block) |
public Block(int[] blockSize,
int[] offset,
int[] effectiveSize,
int[] effectiveOffset,
int[] effectiveLocalOffset,
boolean inside)
public static Block[] divideIntoBlocks(int[] imgSize, int[] blockSize, int[] kernelSize)
imgSize - - the size of the imageblockSize - - the final size of each block covering the entire imagekernelSize - - the size of the kernel (has to be odd!)public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.