diff --git a/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java b/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java index bcebbaf..36ff0cb 100644 --- a/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java +++ b/view-simulation-results/src/main/java/org/vcell/N5/SimResultsLoader.java @@ -137,6 +137,7 @@ public ImagePlus getImgPlusFromN5File() throws IOException { imagePlus.setProperty("channelInfo", n5AmazonS3Reader.getAttribute(dataSetChosen, "channelInfo", HashMap.class)); imagePlus.setProperty("maskInfo", n5AmazonS3Reader.getAttribute(dataSetChosen, "maskMapping", HashMap.class)); imagePlus.setZ(Math.floorDiv(imagePlus.getNSlices(), 2)); + imagePlus.setT(Math.floorDiv(imagePlus.getNFrames(), 2)); new ContrastEnhancer().stretchHistogram(imagePlus, 1); return imagePlus;