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
Issue dcm2niix4pet currently converts non-PET dicoms that are found in the input directory.
For PET/CT or PET/MR acquisitions, it is possible for the directory with PET to include CT or MR dicoms as well, so it would be good for dcm2niix4pet to check for non-PET dicoms.
To Reproduce dcm2niix4pet -d ${OUTPUTDIR} ${INPUTDICOMDIRWITHPETCT}
results in converted CT nifti + json files as well as PET. The CT json files contain several PET-specific tags. (As a side note, CT BIDS is in the works.)
Expected behaviour dcm2niix4pet should skip non-PET images and produce a warning instead (stating that images are skipped and pointing the user to dcm2niix if they want to convert them).
An easy way to implement this would be at the copying from temp directory stage: convert all dicoms found in the input directory and generate niftis in the temp directory, but copy back only the PET niftis and jsons.
Desktop:
CentOS 7.9.2009 (Core)
Python 3.10.6
dcm2niix4pet 1.2.9
The text was updated successfully, but these errors were encountered:
Issue
dcm2niix4pet
currently converts non-PET dicoms that are found in the input directory.For PET/CT or PET/MR acquisitions, it is possible for the directory with PET to include CT or MR dicoms as well, so it would be good for
dcm2niix4pet
to check for non-PET dicoms.To Reproduce
dcm2niix4pet -d ${OUTPUTDIR} ${INPUTDICOMDIRWITHPETCT}
results in converted CT nifti + json files as well as PET. The CT json files contain several PET-specific tags. (As a side note, CT BIDS is in the works.)
Expected behaviour
dcm2niix4pet
should skip non-PET images and produce a warning instead (stating that images are skipped and pointing the user todcm2niix
if they want to convert them).An easy way to implement this would be at the copying from temp directory stage: convert all dicoms found in the input directory and generate niftis in the temp directory, but copy back only the PET niftis and jsons.
Desktop:
The text was updated successfully, but these errors were encountered: