Comments (5)
Great idea. I've moved it to examples/deepzoom/deepzoom_multiserver.py
in OpenSlide Python.
from openslide-python.
Are you seeing tiles loaded in the wrong places, or are the tiles themselves incorrect? Could you upload a screenshot?
Are you caching OpenSlide
objects in your application?
from openslide-python.
This is what happens when I zoom while other client is accessing a different slide.
"Are you caching OpenSlide objects in your application?" I realy don't know. I'd changed deepzoom_server.py to serve our slides in a simple way. My main language is PHP so I've no idea about cache with Flask or pure python.
from openslide-python.
When and where do you create new OpenSlide
objects? It sounds as though you might be overwriting app.slides
in one worker thread while another worker thread expects it to refer to the original OpenSlide
.
Here is an example server that handles multiple slide files. Notice that it maintains a cache of recently-used OpenSlide
objects. This is better than reopening the slide on every tile request, since creating an OpenSlide
object can be expensive.
from openslide-python.
It worked fine! Thank you very much! It solved this and some other issues.
The slidedeck
is so important that I suggest you to include it in the openslide-python
examples folder. I think that this code can help a lot of people.
from openslide-python.
Related Issues (20)
- Build for Python 3.11 HOT 1
- /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0 HOT 2
- Possible memory leak with read_region HOT 2
- OSError: -9 HOT 2
- openslide can not read a file with chinese path HOT 2
- get_thumbnail bug report HOT 3
- miniconda & openslide-python; LIBFFI_BASE_7.0 HOT 1
- WSIs appear dark black when I convert SVS files to 10x or lower scale factor HOT 6
- Release 1.3.0
- Build for Python 3.12 HOT 2
- Missing _convert.cpython-310-darwin.so HOT 4
- "openslide.lowlevel.OpenSlideUnsupportedFormatError: Unsupported or missing image file" for DICOM image HOT 1
- Release 1.3.1 HOT 2
- Consider dropping 32-bit Windows wheels
- No DICOM support in Anaconda version of openslide-python 1.3.1 HOT 1
- PIL.UnidentifiedImageError: cannot identify image file HOT 6
- OpenSlideError: Bad direction attribute "LEFT" HOT 1
- a bug of mrxs HOT 6
- Streamlining installation on Linux/MacOS HOT 1
- the shape of image from DeepZoomGenerator.get_tile is inconsistent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openslide-python.