Class BlockGeneratorVariableSizePrecise
java.lang.Object
net.preibisch.mvrecon.process.cuda.BlockGeneratorVariableSizePrecise
- All Implemented Interfaces:
BlockGenerator<Block>
This BlockGenerator cares that the overlap within the image is accounted for and that
an outofbounds strategy is taken into account.
- Author:
- Stephan Preibisch
-
Constructor Summary
ConstructorsConstructorDescriptionBlockGeneratorVariableSizePrecise(long[] numBlocksDim) BlockGeneratorVariableSizePrecise(ExecutorService service, long[] numBlocksDim) -
Method Summary
Modifier and TypeMethodDescriptiondivideIntoBlocks(long[] imgSize, long[] kernelSize) Divides an image into blocksstatic void
-
Constructor Details
-
BlockGeneratorVariableSizePrecise
-
BlockGeneratorVariableSizePrecise
public BlockGeneratorVariableSizePrecise(long[] numBlocksDim)
-
-
Method Details
-
divideIntoBlocks
Divides an image into blocks- Specified by:
divideIntoBlocksin interfaceBlockGenerator<Block>- Parameters:
imgSize- - the size of the imagekernelSize- - the size of the kernel (has to be odd!)- Returns:
- array of blocks
-
main
-