Skip to content

How to test the method #4

@sandrinebedard

Description

@sandrinebedard

Description

This issue explains how to run the rootlets-based registration to template

Installation

Update SCT version

cd $SCT_DIR  # Go to SCT directory (if not already there)
git fetch
git pull origin master
./install_sct.  # Rerun installer (if you were in a older version)
sct_register_to_template -h. # Check if the flag -lrootlet is available

Registration to template

1.Rootlets segmentation

Rootlets segmentation method currently works on T2w contrast, and prefered on isotropic resolution. It will segment the dorsal nerve rootlets from levels C2 to C8.

sct_deepseg -i <FILE T2w> -task seg_spinal_rootlets_t2w -qc ./qc

Check results --> look if all the levels form C2-C8 are segmented:

Enregistrement.d.ecran.le.2025-01-24.a.10.58.26.mov

To quickly assess if a level is missing, you can consider running the following:

sct_label_utils -i <FILE ROOTLET> -cubic-to-point -o <FILE ROOTLET>_mid.nii.gz
sct_label_utils -i <FILE SEG> -project-centerline <FILE ROOTLET>_mid.nii.gz  -o <FILE ROOTLET>_mid_center.nii.gz
sct_qc -i <FILE T2w>  -s <FILE ROOTLET>_mid_center.nii.gz -p sct_label_utils -qc $PATH_QC

It will show the center-of-mass of the each levels from the rootlet segmentation, where you can quickly assess if the position is correct, or if a level is missing:

Image

Example of where some levels are missing:
Image

2.Spinal cord segmentation

Run spinal cord segmentation for registration to template

sct_deepseg -i <FILE T2w> -task seg_sc_contrast_agnostic -qc ./qc

Check results : Validate the quality of the spina cord segmentation

Image

3.Registration to template

sct_register_to_template -i <FILE T2w> -s <FILE SEG> -lrootlet <FILE ROOTLET> -qc ./qc

Check results : compare the alignement of the rootlets vs. PAM50

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions