Class BlockGeneratorVariableSizeSimple

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

public class BlockGeneratorVariableSizeSimple extends Object implements BlockGenerator<Block>
This BlockGenerator only cares that the overlap within the image is accounted for, not about an outofbounds strategy.
Author:
Stephan Preibisch
  • Constructor Details

    • BlockGeneratorVariableSizeSimple

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

      public BlockGeneratorVariableSizeSimple(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)