View DICOM image using matplotlib

前端 未结 0 1347
青春惊慌失措
青春惊慌失措 2020-12-01 04:35

I am trying to display view the DICOM image but I keep getting this error.

ds = dicom.dcmread(image_path) plt.imshow(ds.pixel_array)

TypeError: Invalid shape (

相关标签:
回答
  • 消灭零回复
提交回复
热议问题