Open NicoKiaru opened 11 months ago
@Rdornier no news on this ? (it's not urgent)
Hi @NicoKiaru,
Yes, I think the issue is coming from this method https://github.com/qupath/qupath/blob/main/qupath-gui-fx/src/main/java/qupath/lib/display/ImageDisplay.java#L872-L894
Basically, when an ImageData is created, a thumbnail is created for every images (nZ * nT) , so more than 600 requests for the above image ! That's why it's so long to open this image (60-120s instead of 2-3s if we skip this step)
This is a side effect of QuPath ; I'll open an issue to discuss what would be possible to do.
To speed up a bit, I try to always take the lowest resolution level to generate the thumbnails
Improves a bit but still not optimal.
I had to go back and increase the size of the thumbnail to 1024*1024 again, so that it does not introduce bias in the histogram generation for the images coming from OMERO / local. I have speed up the general streaming of data by paralellisation ; it should be twice faster. I hope the way the histogram is generated will be modified on QuPath side.
Probably there's way too many things being fetched from the server.
Example URL (internal BIOP EPFL):
https://omero.epfl.ch/webclient/?show=image-511517