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)

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%|          | 90112/24250681 [00:00<00:29, 810788.40it/s]
  1%|          | 237568/24250681 [00:00<00:21, 1108824.02it/s]
  2%|1         | 368640/24250681 [00:00<00:20, 1142274.29it/s]
  2%|2         | 516096/24250681 [00:00<00:19, 1213775.90it/s]
  3%|2         | 679936/24250681 [00:00<00:18, 1304822.82it/s]
  4%|3         | 860160/24250681 [00:00<00:16, 1407910.34it/s]
  4%|4         | 1040384/24250681 [00:01<00:15, 1477230.95it/s]
  5%|5         | 1236992/24250681 [00:01<00:14, 1567293.36it/s]
  6%|5         | 1433600/24250681 [00:01<00:13, 1630074.72it/s]
  7%|6         | 1662976/24250681 [00:01<00:12, 1757649.91it/s]
  8%|7         | 1892352/24250681 [00:01<00:12, 1848060.68it/s]
  9%|8         | 2121728/24250681 [00:01<00:11, 1917618.78it/s]
 10%|9         | 2383872/24250681 [00:01<00:10, 2045419.79it/s]
 11%|#         | 2646016/24250681 [00:01<00:10, 2137156.37it/s]
 12%|#2        | 2924544/24250681 [00:01<00:09, 2243393.50it/s]
 13%|#3        | 3203072/24250681 [00:02<00:09, 2322137.29it/s]
 14%|#4        | 3497984/24250681 [00:02<00:08, 2419377.21it/s]
 16%|#5        | 3809280/24250681 [00:02<00:08, 2527922.18it/s]
 17%|#6        | 4120576/24250681 [00:02<00:07, 2602742.17it/s]
 18%|#8        | 4464640/24250681 [00:02<00:07, 2740823.82it/s]
 20%|#9        | 4808704/24250681 [00:02<00:06, 2843794.89it/s]
 21%|##1       | 5152768/24250681 [00:02<00:06, 2918117.72it/s]
 23%|##2       | 5513216/24250681 [00:02<00:06, 3011470.72it/s]
 24%|##4       | 5890048/24250681 [00:02<00:05, 3121088.87it/s]
 26%|##5       | 6283264/24250681 [00:03<00:05, 3238014.28it/s]
 28%|##7       | 6676480/24250681 [00:03<00:05, 3324430.22it/s]
 29%|##9       | 7086080/24250681 [00:03<00:05, 3427445.19it/s]
 31%|###       | 7512064/24250681 [00:03<00:04, 3546096.40it/s]
 33%|###2      | 7954432/24250681 [00:03<00:04, 3664335.87it/s]
 35%|###4      | 8396800/24250681 [00:03<00:04, 3754066.59it/s]
 37%|###6      | 8855552/24250681 [00:03<00:03, 3861402.64it/s]
 38%|###8      | 9330688/24250681 [00:03<00:03, 3975609.38it/s]
 40%|####      | 9805824/24250681 [00:03<00:03, 4062171.96it/s]
 42%|####2     | 10297344/24250681 [00:04<00:03, 4164733.27it/s]
 44%|####4     | 10788864/24250681 [00:04<00:03, 4244115.00it/s]
 47%|####6     | 11313152/24250681 [00:04<00:02, 4374851.63it/s]
 49%|####8     | 11837440/24250681 [00:04<00:02, 4479500.26it/s]
 51%|#####     | 12361728/24250681 [00:04<00:02, 4547762.57it/s]
 53%|#####3    | 12918784/24250681 [00:04<00:02, 4654552.40it/s]
 56%|#####5    | 13475840/24250681 [00:04<00:02, 4750162.97it/s]
 58%|#####7    | 14032896/24250681 [00:04<00:02, 4848589.43it/s]
 60%|######    | 14622720/24250681 [00:04<00:01, 4948449.33it/s]
 63%|######2   | 15212544/24250681 [00:05<00:01, 5049461.74it/s]
 65%|######5   | 15818752/24250681 [00:05<00:01, 5162605.40it/s]
 68%|######7   | 16441344/24250681 [00:05<00:01, 5242309.22it/s]
 70%|#######   | 17063936/24250681 [00:05<00:01, 5343660.32it/s]
 73%|#######2  | 17686528/24250681 [00:05<00:01, 5559916.93it/s]
 75%|#######5  | 18259968/24250681 [00:05<00:01, 5597019.12it/s]
 78%|#######7  | 18833408/24250681 [00:05<00:00, 5566331.44it/s]
 80%|########  | 19488768/24250681 [00:05<00:00, 5825406.35it/s]
 83%|########2 | 20078592/24250681 [00:05<00:00, 5834247.46it/s]
 85%|########5 | 20684800/24250681 [00:06<00:00, 5830216.29it/s]
 88%|########8 | 21372928/24250681 [00:06<00:00, 5933391.00it/s]
 91%|#########1| 22077440/24250681 [00:06<00:00, 6225861.29it/s]
 94%|#########3| 22708224/24250681 [00:06<00:00, 6247289.78it/s]
 96%|#########6| 23355392/24250681 [00:06<00:00, 6184990.57it/s]
 99%|#########9| 24092672/24250681 [00:06<00:00, 6359601.81it/s]
24256512it [00:06, 3702494.68it/s]

import torchio as tio

tio.datasets.Colin27().plot()

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

Gallery generated by Sphinx-Gallery