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

[feature request] provide dicom directory as input #37

Open
greydongilmore opened this issue Oct 27, 2020 · 4 comments
Open

[feature request] provide dicom directory as input #37

greydongilmore opened this issue Oct 27, 2020 · 4 comments

Comments

@greydongilmore
Copy link

There are some great workflows to convert a directory of dicoms into a BIDS compliant format. However, the source dicoms remain identifiable which limits the ability to share source data. At our institute, we have encountered some instances where the source dicoms were requested in-place of the nifti files.

Would it be possible to add functionality for pydeface to accept a directory of dicoms and return defaced dicoms (assuming conversion to nifti and back)?

@poldrack
Copy link
Contributor

poldrack commented Oct 27, 2020 via email

@greydongilmore
Copy link
Author

can certainly do that.
The approach I would take would be convert input dicoms to nifti with dcm2niix, run pydeface, convert back to dicom using Nifti2Dicom. Would this be suitable?

@poldrack
Copy link
Contributor

poldrack commented Nov 2, 2020 via email

@effigies
Copy link
Contributor

IMO, time would be better spent making sure pydeface integrates nicely with a third-party tool that wraps a DICOM-NIfTI-DICOM round trip.

@greydongilmore Did you ever work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants