Skip to content

Commit

Permalink
Fix left/right in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman authored Jul 13, 2023
1 parent 7e9b6a1 commit 2ef1952
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ On an input dataset containing `input/1.mnc input/2.mnc`, the outputs will be
### Example: Extract Multiple Masks

You have a directory of input MINC segmentation files where white matter (WM) is labeled
by 160,4 on the left, and 161,5 on the right. You want to extract left and right WM masks
by 161,5 on the left, and 160,4 on the right\*. You want to extract left and right WM masks
to the file names "lh.wm.mnc" and "rh.wm.mnc" respectively:

```shell
apptainer exec docker://fndsc/pl-nums2mask nums2mask -m 'lh.wm.mnc:160,4 rh.wm.mnc:161,5' input/ output/
apptainer exec docker://fndsc/pl-nums2mask nums2mask -m 'lh.wm.mnc:161,5 rh.wm.mnc:160,4' input/ output/
```

On an input dataset containing `input/1.mnc input/2.mnc`, the outputs will be
`output/1/lh.wm.mnc output/1/rh.wm.mnc output/2/lh.wm.mnc output/2/rh.wm.mnc`.

\*Footnote: example label numbers come from FreeSurfer's
[`FreeSurferColorLUT`](https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/AnatomicalROI/FreeSurferColorLUT).

## Development

### Build
Expand Down

0 comments on commit 2ef1952

Please sign in to comment.