Skip to content

Different pixel value when opening same slide on Linux and Windows #183

@loic-lb

Description

@loic-lb

Context

Issue type (bug report or feature request): Different pixel value when opening same slide on Linux and Windows
Operating system (e.g. Fedora 24, Mac OS 10.11, Windows 10): Ubuntu 20.04.4 LTS, Windows 10
Platform (e.g. 64-bit x86, 32-bit ARM):
OpenSlide Python version (openslide.__version__): 1.2.0 (on both OS)
OpenSlide version (openslide.__library_version__): 3.4.1 (on both OS)
Slide format (e.g. SVS, NDPI, MRXS): NDPI

Details

Dear all,

When trying to read a slide from Warwick HER2 dataset in a single array at level 5, I get different values depending I am using openslide on Windows or Linux. Both versions of openslide python are the same as the openslide library version. The offset value is relatively small since it seems to differ by only one unit (cf tables on the left of the screenshots I joined). However, this difference is enough to impact my processing afterward. You can also notice on the screenshots I joined that, for instance, you get something significantly different when summing the value of pixels.

Thank you for your help,

Linux capture:
capture_openslide_issue_linux

Windows capture:
capture_openslide_issue_windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions