8.2.1. Basic Atlas plotting

Plot the regions of a reference atlas (here the Harvard-Oxford atlas).

8.2.1.1. Retrieving the atlas data

from nilearn import datasets

dataset = datasets.fetch_atlas_harvard_oxford('cort-maxprob-thr25-2mm')
atlas_filename = dataset.maps

print('Atlas ROIs are located at: %s' % atlas_filename)

Out:

Atlas ROIs are located at: /home/varoquau/nilearn_data/fsl/data/atlases/HarvardOxford/HarvardOxford-cort-maxprob-thr25-2mm.nii.gz

8.2.1.2. Visualizing the Harvard-Oxford atlas

from nilearn import plotting

plotting.plot_roi(atlas_filename, title="Harvard Oxford atlas")
plotting.show()
../../_images/sphx_glr_plot_atlas_001.png

Total running time of the script: ( 0 minutes 0.710 seconds)

Generated by Sphinx-Gallery