I have an issue with images saved using a "save to" import converter.
I have DICOM image analysis written in python. If I run it on the DICOM image saved by conquest to its default storage location (MAGDevice0), it runs fine. If I try to run it on the .dcm file saved using an import converter, it fails.
Looking at the DICOM tags of the two files, it appears the one saved by the import converter has had the private tags re-written, so I'm wondering if this is what causes my software to fail, possibly there are other changes I'm not aware of.
Is it possible to stop the import converter file being changed, so that it is identical to the file saved in conquests database (and the original file!)?
Many thanks for any help and the extremely useful software!
The relevant lines for the import converters are:
#Create a folder with SOP instance UID
ImportConverter1 = mkdir E:\auto_QC\%o\
#Save file to created folder with file base name
ImportConverter2 = save to E:\auto_QC\%o\%b.dcm
Some of the private tags from the file saved to MAGDevice0:
(0009, 1001) [Unknown] SH: 'GEMS_GENIE'
(0009, 1010) [Study Name] LO: 'QC-protocol'
(0009, 1011) [Study Flags] SL: 1
(0009, 1012) [Study Type] SL: 0
(0009, 101e) [Dataset UID] UI: ''
(0009, 1020) [Series Object Name] LO: 'ImageQC'
(0009, 1021) [Series Flags] SL: 1
(0009, 1022) [User Orientation] SH: ''
(0009, 1023) [Initiation Type] SL: 0
(0009, 1024) [Initiation Delay] SL: 0
(0009, 1025) [Initiation Count Rate] SL: 0
(0009, 1026) [Number Energy Sets] SL: 1
(0009, 1027) [Number Detectors] SL: 2
(0009, 1028) [Number RR Windows] SL: 0
(0009, 1029) [Number MG Time Slots] SL: 0
(0009, 102a) [Number View Sets] SL: 0
(0009, 102b) [Trigger History UID] LO: ''
(0009, 102c) [Series Comments] LO: ''
(0009, 102e) [Distance Prescribed] FD: 0.0
(0009, 102f) [Table Direction] SL: 0
(0009, 1040) [Patient Object Name] PN: 'operator^^^^'
Display More
Tags from the same image, but saved using "save to" import converter
(0009, 1001) Private tag data UN: b'GEMS_GENIE'
(0009, 1010) Private tag data UN: b'QC-protocol '
(0009, 1011) Private tag data UN: b'\x01\x00\x00\x00'
(0009, 1012) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 101e) Private tag data UN: None
(0009, 1020) Private tag data UN: b'ImageQC '
(0009, 1021) Private tag data UN: b'\x01\x00\x00\x00'
(0009, 1022) Private tag data UN: None
(0009, 1023) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 1024) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 1025) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 1026) Private tag data UN: b'\x01\x00\x00\x00'
(0009, 1027) Private tag data UN: b'\x02\x00\x00\x00'
(0009, 1028) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 1029) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 102a) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 102b) Private tag data UN: None
(0009, 102c) Private tag data UN: None
(0009, 102e) Private tag data UN: b'\x00\x00\x00\x00\x00\x00\x00\x00'
(0009, 102f) Private tag data UN: b'\x00\x00\x00\x00'
(0009, 1040) Private tag data UN: b'operator^^^^'
Display More