LoslegenKostenlos starten

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.

Diese Übung ist Teil des Kurses

<Kurs>Biomedical Image Analysis in Python</Kurs>
Kurs ansehen

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Import ImageIO and load image
import imageio.v2 as imageio
im = ____

# Print the available metadata fields
print(____)
Code bearbeiten und ausführen