如何解码基于 DICOM 文件的传输语法 JPEG 基线(进程 1)



这是代码:

import pydicom
dataset = pydicom.read_file('xxx') # a dicom file
print(dataset.pixel_array) # the dataset.pixel_array exits

这是问题所在:

NotImplementedError: NO available image handler could decode this transfer syntax JPEG Baseline(Process 1)

现在我希望得到pixel_array,以便我可以继续我的工作,但我没有得到一个好的解决方案。

这个问题不会解释pydicom库。我在Windows系统中遇到过这个问题。当我使用 Ubuntu 时,它不存在。

相关内容

最新更新