I import my local dicom dataset. There are two study of one patient : one about CT, the other about MR. Then I use registration between them, and automatically generate a linear transformation and apply on CT. Now I want to export the series after applying the tranformation.
I have three questions:
Why are there no “export to dicom” option when I right-click on patient node? Only study node and series node have “export to dicom” option. And Must I export dicom one study by one study? Can’t I select multiple patients at once and export them all at once?
When I export dicom, the directory was named ScalarVolume_xxx , (xxx is some digits) I don’t know what the name mean so I can’t correspond them to the information in the software. Can I change the name to some meaningful string?
3、After I export dicom, I found no difference between my original dicom file and output file after registration. The transformation only contains translation, so I think the output file should modified the dicom tag (0020,0032) which is image position. But nothing was modified. How could I export dicom file after transformation?
Yes, the GUI only allows you to export one study at a time. If it is too tedious for your workflow then you can implement fully automatic export of everything that you need with a short Python script.
DICOM does not know anything about filenames. All file content is described in DICOM tags in the files. During DICOM export, you can specify values for many DICOM tags, which you can use to identify data sets.
You need to harden the transform on the data images if you want to export a modified image. Alternatively, you can export the transform as a DICOM Spatial Registration Object if you install SlicerRT extension.
The attribute name is StudyID (not DICOM.StudyID). You can get the list of all attribute names available for the item by calling shNode.GetItemAttributeNames(studyItemID).