Skip to content

Commit

Permalink
add fix for qform sfrom and fix typo disc labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrinebedard committed Aug 6, 2024
1 parent e745a3c commit 25524fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions process_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ segment_and_label_if_does_not_exist(){
#sct_resample -i ${FILELABELMANUAL}_RPI_dil.nii.gz -mm $interp -x nn -o ${FILELABELMANUAL}_RPI_dil_r.nii.gz
#rsync -avzh "${FILELABELMANUAL}_RPI_dil_r.nii.gz" ${FILELABEL}.nii.gz
# Generate labeled segmentation
sct_image -i ${file_seg}.nii.gz -set-sform-to-qform
sct_image -i ${file}.nii.gz -set-sform-to-qform
sct_image -i "${FILELABELMANUAL}.nii.gz" -set-sform-to-qform
sct_label_vertebrae -i ${file}.nii.gz -s ${file_seg}.nii.gz -c ${contrast} -discfile "${FILELABELMANUAL}.nii.gz" -qc ${PATH_QC} -qc-subject ${SUBJECT}
else
# Generate labeled segmentation
Expand Down

0 comments on commit 25524fd

Please sign in to comment.