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
resolutionunit=3, # indicate that the resolution above is in cm^-1,
photometric='rgb',
tile=(128, 128)
)
When photometric='rgb', OpenSlide works fine. TiffSlide fails with NotImplementedError: series with axes='SYX' not supported yet.
Without setting this flag, TiffSlide "works", but returns all zeros for all pixels. OpenSlide fails with openslide.lowlevel.OpenSlideUnsupportedFormatError: Unsupported or missing image file.
An unrelated issue with OpenSlide on Linux was resolved in #14, where the apt version of OpenSlide fails to read the pixel calibration from the image properties. Theoretically we could parse this from the image metadata ourselves, but it's probably more prudent to wait for 4.0.0 binaries to be out on apt (and linked up with python).
Now reading the openslide-python README might make you think that you can pip install openslide-python openslide-bin and get a working openslide install. But we have to wait for openslide-python 1.4.0 for that! Given openslide-bin was released 3 weeks ago, that should be soonish
Spotted in #16, #15 and #14...
In the current tests, we write pyramidal RGB tiffs:
qubalab/tests/res/multi_resolution_uint8_3channels.py
Lines 76 to 85 in 13a9f0f
When
photometric='rgb'
, OpenSlide works fine. TiffSlide fails withNotImplementedError: series with axes='SYX' not supported yet
.Without setting this flag, TiffSlide "works", but returns all zeros for all pixels. OpenSlide fails with
openslide.lowlevel.OpenSlideUnsupportedFormatError: Unsupported or missing image file
.An unrelated issue with OpenSlide on Linux was resolved in #14, where the apt version of OpenSlide fails to read the pixel calibration from the image properties. Theoretically we could parse this from the image metadata ourselves, but it's probably more prudent to wait for 4.0.0 binaries to be out on apt (and linked up with python).
Now reading the openslide-python README might make you think that you can
pip install openslide-python openslide-bin
and get a working openslide install. But we have to wait for openslide-python 1.4.0 for that! Givenopenslide-bin
was released 3 weeks ago, that should be soonishhttps://github.com/openslide/openslide-python/blob/797ea3ddb981713ba0b07a91d79f9396338dda9b/README.md?plain=1#L49-L56
The text was updated successfully, but these errors were encountered: