Skip to content

Imports and Functions

Latest Page Update: 23-09-2026

Solution is now available! Download the full solution from here: Solution

Importing relevant librariesΒΆ

Create a new Notebook or Python script in the exercise folder. Then we start by importing some relevant libraries:

from skimage import color, io, measure, img_as_ubyte
from skimage.measure import profile_line
from skimage.transform import rescale, resize
import matplotlib.pyplot as plt
import numpy as np
import pydicom as dicom