Skip to content

Commit 9ce002c

Browse files
committed
batch_single_subject.sh: add QC and Fsleyes command for the lesion analysis section
1 parent 7107815 commit 9ce002c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

single_subject/batch_single_subject.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,14 @@ sct_compute_compression -i t2_compressed_seg.nii.gz -vertfile t2_compressed_seg_
119119
cd ../t2_lesion
120120
# Segment the spinal cord and intramedullary lesion using the SCIsegV2 model
121121
# Note: t2.nii.gz contains a fake lesion for the purpose of this tutorial
122-
sct_deepseg -i t2.nii.gz -task seg_sc_lesion_t2w_sci
122+
sct_deepseg -i t2.nii.gz -task seg_sc_lesion_t2w_sci -qc ~/qc_singleSubj
123123
# Note: Two files are output:
124124
# - t2_sc_seg.nii.gz: the spinal cord segmentation
125125
# - t2_lesion_seg.nii.gz: the lesion segmentation
126126

127+
# Check results using Fsleyes
128+
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 &
129+
127130
# Compute various morphometric measures, such as number of lesions, lesion length, lesion volume, etc.
128131
sct_analyze_lesion -m t2_lesion_seg.nii.gz -s t2_sc_seg.nii.gz -qc ~/qc_singleSubj
129132

0 commit comments

Comments
 (0)