Skip to content

Commit

Permalink
batch_single_subject.sh: Remove rootlets/lesion sections
Browse files Browse the repository at this point in the history
Since the sections are moved to the end of the course, these are now redundant.
  • Loading branch information
joshuacwnewton committed Nov 29, 2024
1 parent dea3f43 commit 85231f8
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions single_subject/batch_single_subject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,35 +115,6 @@ sct_compute_compression -i t2_compressed_seg.nii.gz -vertfile t2_compressed_seg_



# Lesion analysis
# ======================================================================================================================
cd ../t2_lesion
# Segment the spinal cord and intramedullary lesion using the SCIsegV2 model
# Note: t2.nii.gz contains a fake lesion for the purpose of this tutorial
sct_deepseg -i t2.nii.gz -task seg_sc_lesion_t2w_sci -qc ~/qc_singleSubj
# Note: Two files are output:
# - t2_sc_seg.nii.gz: the spinal cord segmentation
# - t2_lesion_seg.nii.gz: the lesion segmentation

# Check results using FSLeyes
fsleyes t2.nii.gz -cm greyscale t2_sc_seg.nii.gz -cm red -a 70.0 t2_lesion_seg.nii.gz -cm blue-lightblue -a 70.0 &

# Compute various morphometric measures, such as number of lesions, lesion length, lesion volume, etc.
sct_analyze_lesion -m t2_lesion_seg.nii.gz -s t2_sc_seg.nii.gz -qc ~/qc_singleSubj



# Rootlets segmentation
# ======================================================================================================================
cd ../t2
# Segment the spinal nerve rootlets
sct_deepseg -i t2.nii.gz -task seg_spinal_rootlets_t2w -qc ~/qc_singleSubj

# Check results using FSLeyes
fsleyes t2.nii.gz -cm greyscale t2_seg.nii.gz -cm subcortical -a 70.0 &



# Registering T2 data to the PAM50 template
# ======================================================================================================================
cd ../t2
Expand Down

0 comments on commit 85231f8

Please sign in to comment.