Skip to content

Commit c8831ca

Browse files
Change lumbar file from full-body (t2.nii.gz) to lumbar region (t2_lumbar.nii.gz) (#19)
1 parent fec8d41 commit c8831ca

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

single_subject/batch_single_subject.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@ sct_register_multimodal -i t1_crop.nii.gz -d ../t2/t2_crop.nii.gz -param step=1,
217217
# ======================================================================================================================
218218
cd ../t2_lumbar
219219

220-
# Crop full-body image to isolate the lumbar region (lowest 200 axial slices)
221-
sct_crop_image -i t2.nii.gz -zmax 200 -o t2_lumbar.nii.gz
222220
# Use lumbar-specific `sct_deepseg` model to segment the spinal cord
223221
sct_deepseg -i t2_lumbar.nii.gz -task seg_lumbar_sc_t2w
224222

@@ -229,7 +227,7 @@ sct_deepseg -i t2_lumbar.nii.gz -task seg_lumbar_sc_t2w
229227
#
230228
# However, since this is an automated script with example data, we will place the labels at known locations for the
231229
# sake of reproducing the results in the tutorial.
232-
sct_label_utils -i t2.nii.gz -create 22,77,187,17:27,79,80,60 -o t2_lumbar_labels.nii.gz
230+
sct_label_utils -i t2_lumbar.nii.gz -create 22,77,187,17:27,79,80,60 -o t2_lumbar_labels.nii.gz
233231

234232
# Register the image to the template using segmentation and labels
235233
sct_register_to_template -i t2_lumbar.nii.gz \
-5.74 MB
Binary file not shown.
1.87 MB
Binary file not shown.

tutorial-datasets.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data_vertebral-labeling,single_subject/data/t2/t2_seg.nii.gz
55
data_template-registration,single_subject/data/t2/t2.nii.gz
66
data_template-registration,single_subject/data/t2/t2_seg.nii.gz
77
data_template-registration,single_subject/data/t2/t2_labels_vert.nii.gz
8-
data_lumbar-registration,single_subject/data/t2_lumbar/t2.nii.gz
8+
data_lumbar-registration,single_subject/data/t2_lumbar/t2_lumbar.nii.gz
99
data_shape-metric-computation,single_subject/data/t2/t2_seg.nii.gz
1010
data_shape-metric-computation,single_subject/data/t2/label/template/PAM50_levels.nii.gz
1111
data_compression,single_subject/data/t2_compression/t2_compressed.nii.gz

0 commit comments

Comments
 (0)