Merge pull request #38 from jpdefrutos/README-fix
Browse files
README.md
CHANGED
@@ -61,25 +61,6 @@ where:
|
|
61 |
|
62 |
Use ```ddmr --help``` to see additional options like using precomputed segmentations to crop the images to the desired ROI, or debugging.
|
63 |
|
64 |
-
## 🤖 How to use
|
65 |
-
Use the following CLI command to register images
|
66 |
-
```
|
67 |
-
ddmr --fixed path/to/fixed_image.nii.gz --moving path/to/moving_image.nii.gz --outputdir path/to/output/dir -a <anatomy> --model <model> --gpu <gpu-number> --original-resolution
|
68 |
-
```
|
69 |
-
where:
|
70 |
-
* anatomy: is the type of anatomy you want to register: B (brain) or L (liver)
|
71 |
-
* model: is the model you want to use:
|
72 |
-
+ BL-N (baseline with NCC)
|
73 |
-
+ BL-NS (baseline with NCC and SSIM)
|
74 |
-
+ SG-ND (segmentation guided with NCC and DSC)
|
75 |
-
+ SG-NSD (segmentation guided with NCC, SSIM, and DSC)
|
76 |
-
+ UW-NSD (uncertainty weighted with NCC, SSIM, and DSC)
|
77 |
-
+ UW-NSDH (uncertainty weighted with NCC, SSIM, DSC, and HD).
|
78 |
-
* gpu: is the GPU number you want to the model to run on, if you have multiple and want to use only one GPU
|
79 |
-
* original-resolution: (flag) whether to upsample the registered image to the fixed image resolution (disabled if the flag is not present)
|
80 |
-
|
81 |
-
Use ```ddmr --help``` to see additional options like using precomputed segmentations to crop the images to the desired ROI, or debugging.
|
82 |
-
|
83 |
## 🤗 Demo <a target="_blank" href="https://huggingface.co/spaces/andreped/DDMR"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Spaces-yellow.svg"></a>
|
84 |
|
85 |
A live demo to easily test the best performing pretrained models was developed in Gradio and is deployed on `Hugging Face`.
|
|
|
61 |
|
62 |
Use ```ddmr --help``` to see additional options like using precomputed segmentations to crop the images to the desired ROI, or debugging.
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
## 🤗 Demo <a target="_blank" href="https://huggingface.co/spaces/andreped/DDMR"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Spaces-yellow.svg"></a>
|
65 |
|
66 |
A live demo to easily test the best performing pretrained models was developed in Gradio and is deployed on `Hugging Face`.
|