Comments (2)
[Fixing the problem in Linux Ubuntu 20.04.3]
There are several solutions reported to solve this problem. For example:
- if you are using Conda environments, you can easily call the following command to install the right version of the
pixman
library:
conda install -c conda-forge pixman
this will install the latest version of thepixman
lib (0.4.0) which has this bug resolved. - Some of the Linux distributions officially support other versions of the the
pixman
library. Check the following link to see if you can install one of the working versions (0.34, 0.36, 0.40) on your Linux distribution usingapt-get install
command. - For the worst case scenario (no conda and Ubuntu version 20.04.3 for example) you can build the
pixman
lib from the source. It doesn't have any particular dependency so it's easy to build manually. Follow the instruction here: https://www.linuxfromscratch.org/blfs/view/svn/general/pixman.html, you only need to installpip install meson, ninja
beforehand.
from tiatoolbox.
Currently I'm using the following Linux distribution:
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
Which has libpixman
version 0.38.4 installed. I'm running into the same issue reported here. Here is an example code for extracting slide overview:
wsi = wsireader.WSIReader.open(file)
overview = wsi.slide_thumbnail(resolution=4, units='level')
cv2.imwrite('save_path.png', overview[:,:,::-1])
I also tried extracting some patches, results
:
from tiatoolbox.
Related Issues (20)
- Meet "RuntimeError: dictionary changed size during iteration " in `extract_composition_features()` function HOT 3
- cannot import name 'Units' from 'tiatoolbox.wsicore.wsireader' HOT 6
- I can't find the label ‘PATIENT’ and 'HER2FinalStatus' in the slidegraph.ipynb HOT 6
- nucleus segmentation with classification using "hovernet_original-kumar" HOT 1
- Nucleus instance segmentation model output labels HOT 4
- Nucleus instance segmentation classification performance very poor HOT 4
- Conda feedstock build fails HOT 1
- Error importing modules in tiatoolbox.models using Google Colab HOT 1
- Unexpected behaviour in annotation store when property key has a . in it
- AttributeError: 'IOSegmentorConfig' object has no attribute 'margin' HOT 2
- Misspelling the "Classifier" layer in pretrained model files HOT 1
- NucleusInstanceSegmentor.predict() has no "patch" mode HOT 2
- Runtime of UNet Breast Cancer Segmenter HOT 4
- Kernel keeps dying while trying to create image masks HOT 2
- Reading CZI files HOT 2
- Tiatoolbox stopped working after generating yml file. SSL problem with openslide? HOT 4
- `.tif` file from Ventana scanner is not parsed properly with WSIReader; openslide works well on its own HOT 2
- PanNuke TCGA-Slide List HOT 2
- Enhance download paths in the examples notebooks HOT 2
- Difference in CoNSeP results
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 tiatoolbox.