Skip to content
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

read_region from level=0 takes too long #100

Open
reyvateil opened this issue Oct 13, 2020 · 3 comments
Open

read_region from level=0 takes too long #100

reyvateil opened this issue Oct 13, 2020 · 3 comments

Comments

@reyvateil
Copy link

reyvateil commented Oct 13, 2020

Context

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

Details

Slides at level=0 are roughly 200,000 x 100,000 pixels. When trying to read_region 512x512 tiles from level=0 every tile takes anywhere between 40s to 2min to read. In contrast, when trying to read 512x512 tiles from level=1 (100,000 x 50,000 px) it only takes less than a second.

Is such a jump in extraction time expected?

@bgilbert
Copy link
Member

No, that isn't expected. If you're still having this problem, please post enough info to allow us to reproduce this, or at least post the relevant section of your Python code.

@RYY0722
Copy link

RYY0722 commented Apr 26, 2023

Same here. I guess there may be due to the nature of the wsi itself. But not sure what's the problem

@sj9515
Copy link

sj9515 commented Jul 23, 2024

Having similar problems a year later. I am opening the slide, reading the region and saving it as a PNG image. Depending on the slide, it takes between 30 seconds to almost 3 minutes at times. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants