Skip to content

Commit

Permalink
Center Time as Well
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Sep 27, 2024
1 parent b403a86 commit 495bcc7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 495bcc7

Please sign in to comment.