netplotbrain icon indicating copy to clipboard operation
netplotbrain copied to clipboard

Visualization of the ROIs in a probabilistic atlas

Open oesteban opened this issue 3 years ago • 4 comments

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.

oesteban avatar Aug 24 '22 14:08 oesteban

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.

wiheto avatar Aug 25 '22 07:08 wiheto

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).

oesteban avatar Aug 25 '22 07:08 oesteban

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

poldrack avatar Aug 25 '22 19:08 poldrack

Alright. Will try and add asap then!

wiheto avatar Aug 26 '22 12:08 wiheto