DeepMicroscopy / SlideRunner

SlideRunner is a tool for massive cell annotations in whole slide images
GNU General Public License v3.0
75 stars 10 forks source link

Lags a little bit when dragging #2

Closed mingrui closed 6 years ago

mingrui commented 6 years ago

Hi! Thanks for this great software!

I have a question about the lag when dragging a wsi image, it seems to lag more than running the openslide deepzoom server, is this a known performance issue? thanks!

maubreville commented 6 years ago

This is true and known indeed. It comes from the internal structure of the software, because it will not pre-fetch anything and query the openslide library for every view it is about to display. This makes it slow especially for large files and traditional hard drives.

I think this could be mitigated by loading larger grids from the disk and only reload when the grid has been left.

I would be curious to know: Is this a major impairment for your application? For what purpose are you using it? :-)

Anyway, thanks for the feedback!

mingrui commented 6 years ago

I am using an 1.7 GB .svs file, on a SSD. At 40x zoom level, the speed is usable. But if it could be faster than it would be perfect! :+1:

I am using it to label necrosis regions on a slide for deep learning.

maubreville commented 6 years ago

Cool.

I just included caching for reading slides. It should be significantly faster now.

mingrui commented 6 years ago

It's much faster, thank you!