Plot a subject

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

t1 (sagittal), t1 (coronal), t1 (axial), head (sagittal), head (coronal), head (axial), brain (sagittal), brain (coronal), brain (axial)

Out:

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]
  0%|          | 73728/24250681 [00:00<00:36, 669506.41it/s]
  1%|          | 188416/24250681 [00:00<00:27, 883440.05it/s]
  1%|1         | 303104/24250681 [00:00<00:25, 954795.18it/s]
  2%|1         | 450560/24250681 [00:00<00:21, 1103507.42it/s]
  3%|2         | 630784/24250681 [00:00<00:18, 1293382.77it/s]
  4%|3         | 860160/24250681 [00:00<00:15, 1554586.28it/s]
  5%|4         | 1122304/24250681 [00:01<00:12, 1819703.20it/s]
  6%|5         | 1449984/24250681 [00:01<00:10, 2183018.53it/s]
  8%|7         | 1843200/24250681 [00:01<00:08, 2608931.77it/s]
 10%|9         | 2318336/24250681 [00:01<00:07, 3132364.93it/s]
 12%|#1        | 2908160/24250681 [00:01<00:05, 3801502.80it/s]
 15%|#4        | 3596288/24250681 [00:01<00:04, 4537129.61it/s]
 18%|#8        | 4464640/24250681 [00:01<00:03, 5530161.81it/s]
 23%|##2       | 5496832/24250681 [00:01<00:02, 6655935.15it/s]
 27%|##7       | 6627328/24250681 [00:01<00:02, 7928608.90it/s]
 33%|###2      | 7938048/24250681 [00:02<00:01, 9392216.49it/s]
 39%|###9      | 9576448/24250681 [00:02<00:01, 11282447.52it/s]
 48%|####7     | 11526144/24250681 [00:02<00:00, 13596809.70it/s]
 57%|#####6    | 13737984/24250681 [00:02<00:00, 16071717.96it/s]
 68%|######7   | 16408576/24250681 [00:02<00:00, 19174499.42it/s]
 81%|########  | 19587072/24250681 [00:02<00:00, 22765598.58it/s]
 97%|#########6| 23470080/24250681 [00:02<00:00, 27418181.56it/s]
24256512it [00:05, 4228068.22it/s]

import torchio as tio

tio.datasets.Colin27().plot()

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

Gallery generated by Sphinx-Gallery