Plot a subject

Use torchio.Subject.plot() to plot the images within a subject.

t1 (sagittal), head (sagittal), brain (sagittal), t1 (coronal), head (coronal), brain (coronal), t1 (axial), head (axial), brain (axial)
Downloading http://packages.bic.mni.mcgill.ca/mni-models/colin27/mni_colin27_1998_nifti.zip to /home/docs/.cache/torchio/mni_colin27_1998_nifti/mni_colin27_1998_nifti.zip

0it [00:00, ?it/s]
  0%|          | 0/24250681 [00:00<?, ?it/s]
  1%|          | 122880/24250681 [00:00<00:22, 1076194.65it/s]
  3%|▎         | 827392/24250681 [00:00<00:05, 4049583.52it/s]
  8%|▊         | 1859584/24250681 [00:00<00:03, 6313289.62it/s]
 13%|█▎        | 3072000/24250681 [00:00<00:02, 7991414.95it/s]
 19%|█▉        | 4587520/24250681 [00:01<00:01, 9868915.09it/s]
 27%|██▋       | 6438912/24250681 [00:01<00:01, 11998861.59it/s]
 36%|███▌      | 8683520/24250681 [00:01<00:01, 14371793.05it/s]
 47%|████▋     | 11411456/24250681 [00:01<00:00, 17359765.87it/s]
 61%|██████    | 14721024/24250681 [00:01<00:00, 21094585.97it/s]
 77%|███████▋  | 18759680/24250681 [00:01<00:00, 25482117.44it/s]
 98%|█████████▊| 23658496/24250681 [00:01<00:00, 30599317.93it/s]
24256512it [00:01, 13895900.83it/s]

import torchio as tio

tio.datasets.Colin27().plot()

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

Gallery generated by Sphinx-Gallery