-
Notifications
You must be signed in to change notification settings - Fork 0
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
Script dicom to dicom using Freesurfer docker image #2
Comments
We don't need everything to be gathered within only one |
Hi @NathanMolinier , some feedbacks
|
Great work @Nilser3 ! Once you're done with your code, just create a Pull Request, I will check what you did ! |
The script.py has been updated with the following:
|
DockerizingTo create our container, we must have in a single folder containing : Inside this folder we create a First Docker image for freesurfer-wmhsynthseg
Second Docker image (add script)
Docker image build
Push to Paradim Team
To use
|
Description
The strategy to implement pre-trained models in PARADIM is to do it via Docker and using a
script.py
that take adicom folder as input
and generate adicom folder as output
(segmentation) keeping the same metadata.Pretrained model that we want to implement is WMH-SynthSeg and is implemented in freesurfer-linux-ubuntu22_x86_64-dev-20240112-88246c0
Scripting
This script.py does:
To test it on Dicom data, here is a subject from PPMI project, using:
python script.py --dicom_dir Dicom_1 --dicom_out_dir Dicom_2
But I need to improve the parser of several Dicom folders, as well as preserve the entire metadata in Dicom_2.
Dockerizing
I made a first Freesurfer docker image, available in:
and for test scrpit.py with Dicom_1:
(here the Processing is just a
mri_convert
for reslicing, just to see the functionality of this docker image)@NathanMolinier feedback please 😊
The text was updated successfully, but these errors were encountered: