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

Create mean image across large number of subject for validation #1

Open
sandrinebedard opened this issue Oct 21, 2024 · 2 comments
Open

Comments

@sandrinebedard
Copy link
Member

sandrinebedard commented Oct 21, 2024

Description

To validate the accuracy of the registration to the template using the spinal nerve dorsal rootlets compared to the discs, we will create a mean image across the Spine-Generic data-multi-subject dataset and see if we can better visualize the rootlets compared to the mean image using the intervertabral discs for registration to the template.

Method:

Subjects that had missing rootlets levels were excluded: exclude_spine_generic.yml

You need to have this repository located under ~/code/

Launch processing command:

sct_run_batch -jobs 5 -script process_spine_generic.sh -path-data ~/datasets/data-multi-subject/derivatives/data_preprocessed/ -path-out <PATH_RESULTS>

Average images toghether

Average rootlets-based ana2template.nii.gz:

python average_images.py -path-data ~/processed_data/results_spine-generic_sub-amu01_rootlets_2024-10-18/data_processed -path-out ~/processed_data/results_spine-generic_sub-amu01_rootlets_2024-10-18/results/ -exclude processing_script/exclude_spine_generic.yml -path-file reg_rootlets

Average discs-based anat2template.nii.gz:

python average_images.py -path-data ~/processed_data/results_spine-generic_sub-amu01_rootlets_2024-10-18/data_processed -path-out ~/processed_data/results_spine-generic_sub-amu01_rootlets_2024-10-18/results/ -exclude processing_script/exclude_spine_generic.yml -path-file reg_discs
@sandrinebedard
Copy link
Member Author

Results of mean image of anat2template.nii.gz of n=253:

Rootlets vs. PAM50

mean_spine_generic_ventral_pam50_vs_rootlets
mean_spine_generic_dorsal_rootlets_vs_pam50

Discs vs. PAM50

mean_spine_generic_ventral_discs_vs_pam50
mean_spine_generic_dorsal_discs_vs_pam50

Discs vs . Rootlets

mean_spine_generic_rootlets_vs_discs

Rootlets-regmean across n=253

mean_spine_generic_rootlets_n253

Discs-reg mean across n=253

mean_spine_generic_discs_n253

@jcohenadad
Copy link
Member

omg this is beautiful! the "Discs vs . Rootlets" is 'cover journal' material

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

2 participants