Skip to content

Commit

Permalink
Merge pull request #3 from alexapichet/patch-1
Browse files Browse the repository at this point in the history
Update diffusion-weighted-imaging.Rmd
  • Loading branch information
davecash75 authored Jun 23, 2024
2 parents 7da304d + a9f730d commit 5418a7f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions episodes/diffusion-weighted-imaging.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,9 @@ First select the b0 image, extract the brain only and binarize it to make a mask
* Extract the b0 image only with select_dwi_vols or fslroi

```bash
# Usage: select_dwi_vols <data> <bvals> <output> <approx_bval> [other options]
# Usage: fslroi <input> <output> <tmin> <tsize>

select_dwi_vols sub-OAS30001_dwi.nii.gz sub-OAS30001_dwi.bval sub-OAS30001_b0.nii.gz -b 0

# Another option would be to use: fslroi dwidata nodif 0 1
fslroi sub-OAS30001_dwi.nii.gz sub-OAS30001_b0.nii.gz 0 1
```

* Brain extraction and binarization with bet
Expand Down

0 comments on commit 5418a7f

Please sign in to comment.