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.
This exercise is part of the course
Biomedical Image Analysis in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import ImageIO and load image
____
im = ____
# Print the available metadata fields
print(____)