@@ -0,0 +1,747 @@
+package viewer.hdf5;%0A%0Aimport ij.ImageJ;%0A%0Aimport java.io.File;%0A%0Aimport net.imglib2.img.basictypeaccess.array.FloatArray;%0Aimport net.imglib2.img.cell.CellImg;%0Aimport net.imglib2.img.display.imagej.ImageJFunctions;%0Aimport net.imglib2.type.numeric.real.FloatType;%0Aimport viewer.hdf5.img.Hdf5Cell;%0Aimport viewer.hdf5.img.Hdf5CellImgFactory;%0A%0Apublic class LoadCellImg%0A%7B%0A%09public static void main( final String%5B%5D args )%0A%09%7B%0A%09%09final File hdf5CellsFile = new File( %22/home/tobias/Desktop/cells.h5%22 );%0A%09%09if ( ! hdf5CellsFile.exists() )%0A%09%09%09throw new RuntimeException( %22cells file not found%22 );%0A%09%09final CellImg%3C FloatType, FloatArray, Hdf5Cell%3C FloatArray %3E %3E img = Hdf5CellImgFactory.create( hdf5CellsFile );%0A%09%09new ImageJ();%0A%09%09ImageJFunctions.show( img );%0A%09%7D%0A%7D%0A

create and ImageJFunctions.show() hdf5 CellImg.