Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview plots remain downsampled despite progressive zooming #111

Open
4 tasks
yoda-vid opened this issue Mar 1, 2022 · 0 comments
Open
4 tasks

Overview plots remain downsampled despite progressive zooming #111

yoda-vid opened this issue Mar 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yoda-vid
Copy link
Collaborator

yoda-vid commented Mar 1, 2022

The ROI Editor displays progressively zoomed "overview" plots on the top row. Large images are downsampled to reduce loading times when displaying the full image. The progressively zoomed images remain downsampled, however, showing lower resolution images than in the sequenced of "zoomed ROI" plots in the subsequent rows.

One solution is to downsample plots only based on their displayed size rather than the full image size. Loading times would likely be worsened, however, since the full image would need to be accessed even if only part of it is in the viewport.

Another solution is to crop the image to only the zoomed area. The downside is that the image could not be flexibly zoomed in and out.

A long-term solution would be to use a pyramidal image to avoid the need for downsampling, instead using the existing downsampled images in the pyramidal structure.

Todo:

  • Test performance of large in-memory images to see whether they need downsampling
  • Identify bottleneck for images loaded through Tifffile
  • GUI option to adjust downsampling
  • Reduce/remove downsampling while zooming
@yoda-vid yoda-vid added the enhancement New feature or request label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant