Answers for "'FileMetaDataset' object has no attribute 'TransferSyntaxUID"

0

'FileMetaDataset' object has no attribute 'TransferSyntaxUID

import pydicom.uid
ds=pydicom.read_file('./DR/abnormal/abc.dcm',force=True)
ds.file_meta.TransferSyntaxUID = pydicom.uid.ImplicitVRLittleEndian  # or whatever is the correct transfer syntax for the file
ds.pixel_array
Posted by: Guest on April-28-2022

Code answers related to "'FileMetaDataset' object has no attribute 'TransferSyntaxUID"

Browse Popular Code Answers by Language