Grassroots DICOM (GDCM) is a cross-platform library written in C++ for DICOM medical files.
I'm using pydicom and my code is pretty straightforward: image = np.stack([s.pixel_array for s in scans]) But …