Closed mdrio closed 2 years ago
Hi @mdrio, I think it's because in our OpenSlideRead we also open and close the file, and in multiple reading this will cause a great overhead. We will provide a different interface to extract regions of an openslide image as soon as possible. Thank you!
Ok, thanks!
Hi @mdrio, we have changed the interface between OpenSlide and ECVL. In the master branch, you can check the new way to load with OpenSlide and read region in ECVL Images in the _exampleopenslide. You can also compute the performance and see that now they are slightly higher (for the conversion to ECVL image) but comparable.
This sounds great @lauracanalini! Can you make a new ECVL release so we can update the bindings? Thanks again :slightly_smiling_face:
great, thanks!
Can you make a new ECVL release so we can update the bindings?
Could you please include https://github.com/deephealthproject/ecvl/pull/43 in the release? Thanks!
Sure!
This sounds great @lauracanalini! Can you make a new ECVL release so we can update the bindings? Thanks again 🙂
ECVL 1.0.1 released ✌
Hi, I need to read small regions from a slide multiple times. I noticed that calling many times OpenSlideRead is very slow compared to the equivalent call of OpenSlide read_region.
Here is a basic example in Python:
Actually my use case is more complex and reading larger regions at once and then applying some filter is non suitable.
Is there a way to read multiple regions with similar performance of OpenSlide in ECVL?