andreped commited on
Commit
b92c569
1 Parent(s): dac5ddb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -28,6 +28,12 @@ livermask --input path-to-input --output path-to-output
28
  | `--cpu` | to disable the GPU (force computations on GPU only) |
29
  | `--verbose` | to enable verbose |
30
 
 
 
 
 
 
 
31
  ## DICOM/NIfTI format
32
  Pipeline assumes input is in the NIfTI format, and output a binary volume in the same format (.nii).
33
  DICOM can be converted to NIfTI using the CLI [dcm2niix](https://github.com/rordenlab/dcm2niix), as such:
 
28
  | `--cpu` | to disable the GPU (force computations on GPU only) |
29
  | `--verbose` | to enable verbose |
30
 
31
+ ### Using code directly:
32
+ If you wish to use the code directly (not as a CLI and without installing) you have to run the command:
33
+ ```
34
+ python -m livermask.livermask --input path-to-input --output path-to-output
35
+ ```
36
+
37
  ## DICOM/NIfTI format
38
  Pipeline assumes input is in the NIfTI format, and output a binary volume in the same format (.nii).
39
  DICOM can be converted to NIfTI using the CLI [dcm2niix](https://github.com/rordenlab/dcm2niix), as such: