I am resampling a DICOM CT image and after resampling I would like to save it to disk as new image.
I found this example https://simpleitk.readthedocs.io/en/master/Examples/DicomSeriesReadModifyWrite/Documentation.html which unfortunately specify all the tags to copy before writing a DICOM image slice to disk.
I want to avoid that. Ideally I would have something as simple as
Is that possible without writing down all the tags I want to save to disk?