Comments (6)
You are right! I thought it is on wsi tissue level. Obviously it is in pixel level within each tile. Thank you. All look great now!
from pathml.
Can you check if the backend is working? i.e. does extract_region()
return the correct images?
from pathml.
Can you check if the backend is working? i.e. does
extract_region()
return the correct images?
Hi Jacob! Thanks for your timely reply. I just found it was not all black. There are some real images. I think I must be confused on how the pipeline works and how the data is stored. The resulted h5 file from the pipeline has some real images but it is unclear to me how to find them. Is there a filter function? What is the best document for me to check this. I read all the tutorials and they are fairly simple and it did not mention these details. Many thanks!
from pathml.
Great, glad to hear that. I'll remove the bug label then.
When a pipeline is run, all the tiles will be extracted and put into h5. So depending on the tile size, you could end up with some blank tiles - for example, around the edges of the whole slide image, where there's no tissue and it's just blank.
One thing you could do next is try filtering out all the empty tiles. After running the pipeline and populating wsi.tiles
, you can just loop through wsi.tiles and for each tile, check whether to keep it or not (e.g. based on pixel values, or the tile mask from tissue detection, etc.) and delete the tiles you don't want.
Hope this is helpful or at least points in the right direction!
from pathml.
Thanks Jacob. The plan sounds good. One issue I noticed is that in my pipeline I have TissueDetectionHE(mask_name = "tissue") and the resulting data actually has 0 masks in it. Do you know what could be the issue? I'd like to filter out the non-tissue tiles based on this.
from pathml.
Each tile should have a mask, which can be accessed by e.g. wsi.tiles[0].masks["tissue"]
from pathml.
Related Issues (20)
- Support GPUs on Docker installation
- necrotic tissue detection for HE and multiplex imaging
- Need assistance with running Pathml package via Colab or Docker and resolving errors HOT 6
- Tests are failing HOT 2
- Error with spams package in vahadane stain normalisation with StainNormalizationHE() HOT 2
- Make a smaller docker image
- Reading WSI with .tif and ome.tiff format HOT 14
- Implement Tile Stitching Feature in Image Preprocessing
- Unable to read in all image layers in .vdi file, only index 0 is read in HOT 3
- Use updated openslide v4.0.0 HOT 1
- Add Installation and Setup Instructions for Mamba alongside Conda HOT 1
- http://pathml.org/ image broken HOT 1
- Algorithm for Improved Spectral Unmixing with Reference Image Integration
- add install instructions for windows HOT 1
- Compatibility Query: Using PathML for X-Ray Images with Missing 'TotalPixelMatrixRows' Attribute
- AttributeError pathml.core HOT 8
- pachage install bug
- Unable to Load IMC data (ome.tiff format) properly. Image data appears 0 only...
- add Digital Pathology Assistant notebook HOT 2
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 pathml.