Я использую pydicom
, и мой код довольно прост:
image = np.stack([s.pixel_array for s in scans])
Но это дает ошибку времени выполнения:
RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. GDCM), Pillow (req. Pillow)
Я не уверен, что делать,Любая помощь будет .. полезна.