Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-PET dicoms #245

Open
bilgelm opened this issue Dec 4, 2023 · 0 comments
Open

non-PET dicoms #245

bilgelm opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bilgelm
Copy link
Collaborator

bilgelm commented Dec 4, 2023

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
@bilgelm bilgelm added the enhancement New feature or request label Dec 4, 2023
@bendhouseart bendhouseart self-assigned this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants