Class BlockGeneratorVariableSizePrecise

java.lang.Object
net.preibisch.mvrecon.process.cuda.BlockGeneratorVariableSizePrecise
All Implemented Interfaces:
BlockGenerator<Block>

public class BlockGeneratorVariableSizePrecise extends Object implements 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 Details

    • BlockGeneratorVariableSizePrecise

      public BlockGeneratorVariableSizePrecise(ExecutorService service, long[] numBlocksDim)
    • BlockGeneratorVariableSizePrecise

      public BlockGeneratorVariableSizePrecise(long[] numBlocksDim)
  • Method Details

    • divideIntoBlocks

      public ArrayList<Block> divideIntoBlocks(long[] imgSize, long[] kernelSize)
      Divides an image into blocks
      Specified by:
      divideIntoBlocks in interface BlockGenerator<Block>
      Parameters:
      imgSize - - the size of the image
      kernelSize - - the size of the kernel (has to be odd!)
      Returns:
      array of blocks
    • main

      public static void main(String[] args)