读取全部标签dicom
ds: Dataset = read_file(img)
for element in ds:
if element.tag != pydicom.dataelem.Tag(0x7FE0, 0x0010):
tag = element.tag
tag_name = element.name
value = element.value
print(f"Tag: {tag} ({tag_name}), Value: {value}")
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/18408699