You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There's a problem with the tile caching v0.3.2 and v0.4.2 (probably other versions) when using the the same image opened in multiple viewers.
Basically, detections made in one image can show up in the other. The reason is that tiles that show the detections are being cached using the same key in both viewers, because the underlying image files are the same.
To Reproduce
Create a project & add an image
Duplicate the image in the project
Open the original image & its duplicate in different QuPath viewers
Detect cells in a small region in one viewer
Detect cells in a different region in the second viewer
See the cells magically appear in both viewers
Expected behavior
It's possible to work with the same image in multiple viewers.
Screenshots
Desktop (please complete the following information):
OS: All
QuPath Version: v0.4.2 (also v0.3.2 and likely other versions)
Additional context
Because it's a tile caching issue, the problem isn't evident when zoomed in (since the tile cache isn't used to paint detections).
Fixes
* qupath#1217
The problem was the the same 'path' was used as a key for caching tiles from the object hierarchy overlay, whenever the same image was opened in two viewers simultaneously.
Bug report
Describe the bug
There's a problem with the tile caching v0.3.2 and v0.4.2 (probably other versions) when using the the same image opened in multiple viewers.
Basically, detections made in one image can show up in the other. The reason is that tiles that show the detections are being cached using the same key in both viewers, because the underlying image files are the same.
To Reproduce
Expected behavior
It's possible to work with the same image in multiple viewers.
Screenshots
Desktop (please complete the following information):
Additional context
Because it's a tile caching issue, the problem isn't evident when zoomed in (since the tile cache isn't used to paint detections).
The issue was first reported at https://forum.image.sc/t/qupath-problem-with-showing-detections-in-multi-view/76334/3
The cell counts etc. should be unaffected.
One workaround is to duplicate the underlying image file, so that it has a different key for caching (based upon the file name/path).
The text was updated successfully, but these errors were encountered: