openslide/openslide-python

Artifact

464hee opened this issue · 5 comments

Context

Issue type (bug report or feature request):
Operating system (e.g. Fedora 24, Mac OS 10.11, Windows 10):
linux 64
Platform (e.g. 64-bit x86, 32-bit ARM):
OpenSlide Python version (openslide.__version__):
OpenSlide version (openslide.__library_version__):
Slide format (e.g. SVS, NDPI, MRXS):
tif

Details

There are obvious boundary lines when reading tif, but it is normal to use tiffslide to read

Can you tell me what causes this exception on the openslide?

I use Ubuntu 20.04, openslide-python==1.1.2

@bgilbert Look forward to your reply

If I'm understanding your code and output correctly, you're expecting individual pixels to have specific hardcoded color values, but are seeing variations at the tile boundaries of downsampled levels. That occurs because of the compositing which occurs at tile boundaries, and isn't too surprising. OpenSlide doesn't guarantee that its output will be pixel-for-pixel identical to output produced by other software.