Python写入DICOM文件(AttributeError: ‘FileMetaDataset’ object has no attribute ‘TransferSyntaxUID’解决方式)
importnumpyasnpimportmatplotlib.pyplotaspltimportpydicomimportsysdefInitDicomFile():infometa=pydicom.dataset.Dataset()infometa.TransferSyntaxUID=pydicom.uid.ImplicitVRLittleEndianinfometa.Imp