-
Notifications
You must be signed in to change notification settings - Fork 79
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
.tif
file from Ventana scanner is not parsed properly with WSIReader; openslide works well on its own
#804
Comments
I checked, tiatoolbox/tiatoolbox/wsicore/wsireader.py Lines 300 to 304 in 490be26
I checked what happens in tiatoolbox/tiatoolbox/wsicore/wsireader.py Lines 62 to 79 in 490be26
Given that Finally, I checked out the tiatoolbox/tiatoolbox/wsicore/wsireader.py Lines 303 to 307 in b68c9ce
and tiatoolbox/tiatoolbox/wsicore/wsireader.py Lines 65 to 82 in b68c9ce
|
I made a workaround that I will make into a pull-request. Please let me know what you think of it: Add an argument tiatoolbox/tiatoolbox/wsicore/wsireader.py Lines 231 to 236 in b68c9ce
Change tiatoolbox/tiatoolbox/wsicore/wsireader.py Line 303 in b68c9ce
to be if last_suffix in (".tif", ".tiff") and (ignore_is_tiled_tiff or is_tiled_tiff(input_path)): |
A possible solution for the issue #804 Checks if openslide is able to detect tiff format. In this case, OpenSlide opens the tiff file, otherwise falls back to tifffile or opencv. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
@Abdol @shaneahmed, do you have an estimate of when you will release v1.5.2? |
Hi @GeorgeBatch , we plan to make a release v 1.6.0 as soon as #825 or #716 are ready. Probably by end of July/early Aug. |
@shaneahmed, thank you for the update! |
Description
I have slides scanned with a Ventana DP200 scanner and saved as
.tif
files.What I Did
Open with tiatoolbox WSIReader and print the extracted metadata:
Result:
The result did not seem right, so I checked with
openslide
Result:
For some reason, instead of using
OpenSlideWSIReader
orTIFFWSIReader
,VirtualWSIReader
is used. I will investigate further and add my findings in the comments below.The text was updated successfully, but these errors were encountered: