You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The background here is that DICOM "ImageComments" contains study and site identifiers that we use internally to route data into our storage system, but we don't want those embedded in the NIFTI data.
@cookpa why don't you test out the latest commit on the development branch.
It also includes a new option, where if you set the comment to be empty the the image comments (0020,4000) are removed from both the NIfTI and the JSON, which may be what you were after in the first place:
Describe the bug
dcm2niix -c "STRING"
usage saysBut the comment is not placed in the NIFTI file if the DICOM ImageComments tag has a non-null value.
To reproduce
Steps to reproduce the behavior:
fieldmap.zip
Expected behavior
The aux_file to contain "ANONYMIZED".
The "-c" option works as expected if the DICOM tag 0020,4000 ImageComments is emptied or deleted.
Output log
Version
Please report the complete version string:
dcm2niiX version v1.0.20220720 (JP2:OpenJPEG) Clang14.0.0 x86-64 (64-bit MacOS)
I tried building the development branch binary, but it produced a segmentation fault when I tried to run
The text was updated successfully, but these errors were encountered: