CommencerCommencer gratuitement

Metadata

ImageIO reads in data as Image objects. These are standard NumPy arrays with a dictionary of metadata.

Metadata can be quite rich in medical images and can include:

  • Patient demographics: name, age, sex, clinical information
  • Acquisition information: image shape, sampling rates, data type, modality (such as X-Ray, CT or MRI)

Start this exercise by reading in the chest image and listing the available fields in the meta dictionary.


After reading in the image, use im.meta to select the true statement from the list below.

Cet exercice fait partie du cours

Biomedical Image Analysis in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Import ImageIO and load image
____
im = ____

# Print the available metadata fields
print(____)
Modifier et exécuter le code