- java.lang.Object
-
- bdv.export.ExportScalePyramid.DefaultLoopbackHeuristic
-
- All Implemented Interfaces:
ExportScalePyramid.LoopbackHeuristic
- Enclosing class:
- ExportScalePyramid
public static class ExportScalePyramid.DefaultLoopbackHeuristic extends Object implements ExportScalePyramid.LoopbackHeuristic
Simple heuristic: use loopback image loader if saving 8 times or more on number of pixel access with respect to the original image.
-
-
Constructor Summary
Constructors Constructor Description DefaultLoopbackHeuristic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecide(net.imglib2.RandomAccessibleInterval<?> originalImg, int[] factorsToOriginalImg, int previousLevel, int[] factorsToPreviousLevel, int[] chunkSize)
-
-
-
Method Detail
-
decide
public boolean decide(net.imglib2.RandomAccessibleInterval<?> originalImg, int[] factorsToOriginalImg, int previousLevel, int[] factorsToPreviousLevel, int[] chunkSize)
- Specified by:
decidein interfaceExportScalePyramid.LoopbackHeuristic- Returns:
trueif source pixels should be read back from dataset.falseif source pixels should be taken from original image.
-
-