File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,9 @@ file_t2_seg=$FILESEG
122
122
label_if_does_not_exist ${file_t2} ${file_t2_seg} ' t2'
123
123
124
124
# Compute metrics from SC segmentation and normalize them to PAM50 ('-normalize-PAM50' flag)
125
- sct_process_segmentation -i ${file_t2_seg} .nii.gz -vertfile ${file_t2_seg} _labeled.nii.gz -perslice 1 -normalize-PAM50 1 -o ${PATH_RESULTS} /${file_t2/ _RPI_r/ } _PAM50.csv
125
+ # Note: '-v 2' flag is used to get all available vertebral levels from PAM50 template. This assures that the output CSV
126
+ # files will have the same number of rows, regardless of the subject's vertebral levels.
127
+ sct_process_segmentation -i ${file_t2_seg} .nii.gz -vertfile ${file_t2_seg} _labeled.nii.gz -perslice 1 -normalize-PAM50 1 -v 2 -o ${PATH_RESULTS} /${file_t2/ _RPI_r/ } _PAM50.csv
126
128
127
129
# ------------------------------------------------------------------------------
128
130
# End
You can’t perform that action at this time.
0 commit comments