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%|          | 139264/24250681 [00:00<00:18, 1269413.52it/s]
  2%|1         | 368640/24250681 [00:00<00:13, 1755053.74it/s]
  3%|2         | 647168/24250681 [00:00<00:11, 2110459.16it/s]
  4%|4         | 991232/24250681 [00:00<00:09, 2511989.47it/s]
  6%|5         | 1400832/24250681 [00:00<00:07, 2951048.64it/s]
  8%|7         | 1892352/24250681 [00:00<00:06, 3477482.91it/s]
 10%|#         | 2498560/24250681 [00:01<00:05, 4147232.69it/s]
 13%|#3        | 3219456/24250681 [00:01<00:04, 4926640.90it/s]
 17%|#6        | 4104192/24250681 [00:01<00:03, 5909136.77it/s]
 21%|##1       | 5185536/24250681 [00:01<00:02, 7117647.54it/s]
 27%|##6       | 6447104/24250681 [00:01<00:02, 8476886.55it/s]
 33%|###2      | 7970816/24250681 [00:01<00:01, 10133285.17it/s]
 40%|####      | 9773056/24250681 [00:01<00:01, 12031395.19it/s]
 49%|####9     | 11935744/24250681 [00:01<00:00, 14351309.44it/s]
 60%|#####9    | 14540800/24250681 [00:01<00:00, 17178859.31it/s]
 73%|#######2  | 17620992/24250681 [00:02<00:00, 20480269.91it/s]
 88%|########7 | 21282816/24250681 [00:02<00:00, 25024972.19it/s]
24256512it [00:02, 11051486.10it/s]

import torchio as tio

tio.datasets.Colin27().plot()

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

Gallery generated by Sphinx-Gallery