Package bdv.export

Interface ExportScalePyramid.LoopbackHeuristic

  • All Known Implementing Classes:
    ExportScalePyramid.DefaultLoopbackHeuristic
    Enclosing class:
    ExportScalePyramid

    public static interface ExportScalePyramid.LoopbackHeuristic
    A heuristic to decide for a given resolution level whether the source pixels should be taken from the original image or read from a previously written resolution level in the output dataset.
    • Method Detail

      • decide

        boolean decide​(net.imglib2.RandomAccessibleInterval<?> originalImg,
                       int[] factorsToOriginalImg,
                       int previousLevel,
                       int[] factorsToPreviousLevel,
                       int[] chunkSize)
        Returns:
        true if source pixels should be read back from dataset. false if source pixels should be taken from original image.