Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of the ROIs in a probabilistic atlas #47

Open
oesteban opened this issue Aug 24, 2022 · 4 comments
Open

Visualization of the ROIs in a probabilistic atlas #47

oesteban opened this issue Aug 24, 2022 · 4 comments

Comments

@oesteban
Copy link

Probabilistic atlases (e.g., difumo) are not piecewise smooth.

It would be interesting to weigh the colors of the ROIs and modify the alpha channel to make them transparent as you move away from the ROI and enter a different one.

@wiheto
Copy link
Owner

wiheto commented Aug 25, 2022

Good idea. Should be easy to add.

Are "dseg" and "probseg" used for all atlases on TemplateFlow? That would be an easy way to control the behaviour.

@oesteban
Copy link
Author

oesteban commented Aug 25, 2022

Yes, dseg indicates piecewise smooth (discrete) segmentations and probseg indicates probabilistic segmentation. Both are used accordingly.

In nilearn they have this: https://nilearn.github.io/stable/auto_examples/01_plotting/plot_prob_atlas.html#sphx-glr-auto-examples-01-plotting-plot-prob-atlas-py but none of the examples seem to make a good job at plotting probabilities.

cc/ @poldrack might be interested in learning about this particular issue and netplotbrain in general.

(EDITED because I was responding in two tabs at the same time and both messages needed a merge).

@poldrack
Copy link

indeed! we are moving towards using difumo for many projects so having a way to visualize this would be really helpful

@wiheto
Copy link
Owner

wiheto commented Aug 26, 2022

Alright. Will try and add asap then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants