Skip to content

Commit

Permalink
change order of fusion methods, change OMEZARR-loader back to Hypersl…
Browse files Browse the repository at this point in the history
…icing so BigStitcher-Spark prefetch works
  • Loading branch information
StephanPreibisch committed Nov 8, 2024
1 parent 5b02d32 commit 5e75dd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ public enum FusionType { AVG, AVG_BLEND, AVG_CONTENT, AVG_BLEND_CONTENT, MAX, FI
IOFunctions.printIJLog = true;

staticImgExportAlgorithms.add( new DisplayImage() );
staticImgExportAlgorithms.add( new Save3dTIFF( null ) );
staticImgExportAlgorithms.add( new ExportN5Api() );
staticImgExportAlgorithms.add( new Save3dTIFF( null ) );
staticImgExportAlgorithms.add( new OpenSeaDragon() );

staticImgExportAlgorithms.add( new ExportLarge2DTIFF() );

//staticImgExportAlgorithms.add( new ExportSpimData2TIFF() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import net.imglib2.cache.volatiles.CacheHints;
import net.imglib2.img.display.imagej.ImageJFunctions;
import net.imglib2.type.NativeType;
import net.imglib2.view.Views;
import net.preibisch.mvrecon.fiji.spimdata.SpimData2;
import net.preibisch.mvrecon.fiji.spimdata.XmlIoSpimData2;
import net.preibisch.mvrecon.fiji.spimdata.explorer.ViewSetupExplorer;
Expand Down Expand Up @@ -96,9 +97,11 @@ protected < T extends NativeType< T > > RandomAccessibleInterval< T > prepareCac
final CacheHints cacheHints,
final T type )
{
return Views.hyperSlice( Views.hyperSlice( super.prepareCachedImage( datasetPath, setupId, 0, level, cacheHints, type ), 4, 0 ), 3, 0);
/*
return super.prepareCachedImage( datasetPath, setupId, 0, level, cacheHints, type ).view()
.slice( 4, 0 )
.slice( 3, 0 );
.slice( 3, 0 );*/
}

public static void main( String[] args ) throws SpimDataException
Expand Down

0 comments on commit 5e75dd1

Please sign in to comment.