Dear Chris
Thank you for the detailed explanation. I saw from the code it misses out anything that varies per slice, so I figured that was the reasoning. Also, it makes sense that the pixel-related attributes have to change because the image was modified (not just changing the face, but I think nibabel by default converts everything to float).
As you say, the per-image CSA header is useful for things like DWI (maybe ASL too) and we're not defacing those. The LONI deidentification protocol says to preserve this tag, but I agree it's probably not needed for the images we reface. There are some defaced images already in LONI so I'll see if those have Siemens CSA header at image level.
Kudos on working on a deeper DICOM pixel replacer.
Thanks again.
Paul
Threaded View
| Title | Author | Date |
|---|---|---|
| Paul Wright | Oct 29, 2026 | |
| Paul Wright | 1 hour ago | |
| Christopher Schwarz | Oct 30, 2026 | |