Open images using SCIFIO

imglib2
scifio
imagej

#1

Hello,

I would like to force SCIFO to fully load a dataset into RAM. I tried below code, but it still opens the dataset as a LazyCellImg. What other option do I have to set?

SCIFIOConfig scifioConfig = new SCIFIOConfig(  );
scifioConfig.imgOpenerSetImgModes(  SCIFIOConfig.ImgMode.PLANAR );
final File file = new File( path );
Dataset dataset = ij.scifio().datasetIO().open( file.getPath(), scifioConfig );