Working with probabilistic atlas
See original GitHub issueI tried to use Brain_Data to load a mask based on DiFuMo atlas (https://parietal-inria.github.io/DiFuMo/) Using the standard method (loading mask with Brain_Data and using expand_mask) doesn’t work. When looking at the loaded atlas, I find that it is already loaded as expanded. But then, trying to use roi_to_brain doesn’t work as well.
a = nilearn.datasets.fetch_atlas_difumo(dimension=256)
mask = Brain_Data(a.maps)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Probabilistic Atlas - an overview | ScienceDirect Topics
The probabilistic atlas-based methodology was introduced for effective breast segmentation by Gubern-Merida et al. [24]. Nonetheless, accuracy is considered ...
Read more >Probabilistic atlas for the language network based on ... - Nature
This atlas enables estimating the probability that any given location in a common space belongs to the language network, and thus can help ......
Read more >Construction of a 3D Probabilistic Atlas of Human Cortical ...
The atlases can be used to assign structure probabilities to new images by aligning the images and the atlas. Ideally, the registration methods ......
Read more >ICBM Probabilistic Atlases - UCLA Brain Mapping Center
Each delineation was averaged and used to create a probability map for the structure of interest in the atlas space. The probability maps...
Read more >A Probabilistic Atlas of Human Visual Areas and Information
We demonstrate that the entropy map provides distinctly different information from the probability map, highlighting the significance of the entropy map. The ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds good. I’ll have a go at it and let you know once I stumble into some issues.
Hi @orduek, most of our mask functions are not designed to work with probabilistic masks, only binary ones. It’s easy to convert to binary using the
dat.threshold()
method. However, without knowing any of the details of those images, finding an appropriate threshold might be tricky with that particular mask.Here is an example for how to binarize a single map,
mask[0].threshold(upper=.0001, binarize=True)
, or all of them if you can use the same thresholdmask_bin = mask.threshold(upper=.0001, binarize=True)