1. Learn
  2. /
  3. Courses
  4. /
  5. Biomedical Image Analysis in Python

Connected

Exercise

Load volumes

ImageIO's volread() function can load multi-dimensional datasets and create 3D volumes from a folder of images. It can also aggregate metadata across these multiple images.

For this exercise, read in an entire volume of brain data from the "tcia-chest-ct" folder, which contains 25 DICOM images.

Instructions

100 XP
  • Use volread() to load the directory, "tcia-chest-ct".
  • Print the available metadata using the keys() method of vol.meta.
  • Print the shape of the volume.