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

Display errors on tile borders #2481

Open
stefanheinze opened this issue Feb 27, 2024 · 4 comments
Open

Display errors on tile borders #2481

stefanheinze opened this issue Feb 27, 2024 · 4 comments
Labels

Comments

@stefanheinze
Copy link

In our project we are using OpenSeadragon (4.1.0) to display medical images of big file size by using DZI tiled images in PNG format.

For all of our images we are facing the issue that the tiles are not correctly displayed in some zoom levels.

You can see in the following that in the initial zoom level for this example the blood vessel in the eye looks very thin in that area:

openseadragon_1
openseadragon_2

But after zooming in you can see that the vessel has a regular size in that area.

openseadragon_3

You can find that example for checking also under the following domain.

https://stefanheinze.github.io/openseadragon-tiled-images-bug/

And the source code can be found here: https://github.com/stefanheinze/openseadragon-tiled-images-bug

We checked the tiles and it turns out that there is a tile border at this position. Unfortunately there seems to be an overlap of the tiles which results in the loss of displayed information. This might be acceptable for displaying ordinary photos, but its not acceptable in medical context.

We also checked the tiles itself. They are cutted correctly.

Is this a known problem or are we doing anything wrong in using OpenSeadragon? Are there any solutions for that?

@pearcetm
Copy link
Contributor

Can you try out the current master branch? The new webgl drawer (#2310) should fix tiling artifacts like what you're seeing here.

@iangilman
Copy link
Member

@stefanheinze You're likely encountering #1722. The fix for 4.1.0 is to create your images with tile overlap. A more robust fix is on the master branch as @pearcetm says.

@stefanheinze
Copy link
Author

stefanheinze commented Feb 28, 2024

Thanks a lot for the fast response. My first test looks very good!

tiles_with_webgl

we will do some more tests around it. Very intersting for us is your timeline for the version 5.0.0, is that planned in the near future?

@iangilman
Copy link
Member

The timing for 5.0.0 was just being discussed over here: #2482 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants