Skip to content

Commit a738163

Browse files
batch_single_subject.sh: Update registration command
1 parent f5579f0 commit a738163

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

single_subject/batch_single_subject.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,11 @@ sct_deepseg -i t2_crop.nii.gz -task seg_lumbar_sc_t2w
167167
sct_label_utils -i t2.nii.gz -create 22,77,187,17:27,79,80,60 -o t2_crop_labels.nii.gz
168168

169169
# Register the image to the template using segmentation and labels
170-
# TODO: Uncomment when https://github.com/spinalcordtoolbox/PAM50/pull/27 gets merged and a new PAM50 release is made.
171-
#sct_register_to_template -i t2_crop.nii.gz \
172-
# -s t2_crop_seg.nii.gz \
173-
# -ldisc t2_crop_label.nii.gz \
174-
# -c t2 -qc qc \
175-
# -param step=1,type=seg,algo=centermassrot:step=2,type=seg,algo=bsplinesyn,metric=MeanSquares,iter=3,slicewise=0:step=3,type=im,algo=syn,metric=CC,iter=3,slicewise=0
170+
sct_register_to_template -i t2_crop.nii.gz \
171+
-s t2_crop_seg.nii.gz \
172+
-ldisc t2_crop_label.nii.gz \
173+
-c t2 -qc qc \
174+
-param step=1,type=seg,algo=centermassrot:step=2,type=seg,algo=bsplinesyn,metric=MeanSquares,iter=3,slicewise=0:step=3,type=im,algo=syn,metric=CC,iter=3,slicewise=0
176175

177176

178177

0 commit comments

Comments
 (0)