Skip to content

Commit

Permalink
Merge pull request #23 from MIRTK/hotfix/corpus_callosum_wm_probability
Browse files Browse the repository at this point in the history
subtract CC probability from WM
  • Loading branch information
amakropoulos authored Jul 27, 2019
2 parents e02d933 + 2656147 commit 737ba1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/labels-multi-atlas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ for str in ${tissues};do let splitnum=splitnum+1; splitstr=$splitstr" $splitnum"
for str in ${tissues};do splitstr=$splitstr" $sdir/labels/$str/$subj.nii.gz"; done
run mirtk split-labels $num $transformedc $transformedw $splitnum $splitstr

#remove CC from WM
mirtk calculate $sdir/labels/wm/$subj.nii.gz -sub $sdir/labels/seg48/$subj.nii.gz -clamp-below 0 -out $sdir/labels/wm/$subj.nii.gz

#create MAD
if [ ! -f $sdir/MADs/$subj.nii.gz ];then
Expand Down

0 comments on commit 737ba1d

Please sign in to comment.