How to plot ROI boundaries/contour from a mask?


#1

Hi, I am looking for the most efficient and possibly customizable way of plotting/overlaying the boundaries of a given mask, like in the figure below

any software/platform is welcome.

thanks!


#2

You can use nilearn:
https://nilearn.github.io/plotting/index.html#adding-overlays-edges-contours-contour-fillings-and-markers