Skip to content

Commit

Permalink
Improved fix accessing z-stack pyramidal images
Browse files Browse the repository at this point in the history
  • Loading branch information
Rylern committed Mar 1, 2024
1 parent 21b43e0 commit d7fc43a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ BufferedImage openImage(TileRequest tileRequest, int series, int nChannels, bool
int zStacksCurrentResolution = ipReader.getSizeZ();

if (zStacksFullResolution != zStacksCurrentResolution) {
z = (int) Math.round(z / tileRequest.getDownsample());
z = (int) Math.floor(z / tileRequest.getDownsample());
}
}

Expand Down

0 comments on commit d7fc43a

Please sign in to comment.