我想在Windows中使用DCMTK将50个DICOM图像转换为8位PNG图像。我在命令行中输入以下内容并得到错误。
dcmj2pnm --write-png 1.dcm 1.png
错误是:
E: can't change to unencapsulated representation for pixel data
E: can't determine 'PhotometricInterpretation' of decompressed image
E: mandatory attribute 'PhotometricInterpretation' is missing or can't
be determined
F: Missing attribute
任何想法如何编写正确的命令行参数?预先谢谢你。