Skip to content

Commit 8047851

Browse files
committed
updated README; added user data shots
1 parent 3a70bdd commit 8047851

9 files changed

Lines changed: 30 additions & 3 deletions

README.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,44 @@ pip install .
5555
```
5656

5757
## How to use the plugin
58+
First, you need extract the SAM embedding out of your stack. To do that use [SAM Embedding Extractor Widget](#sam-embedding-extractor-widget) widget.
59+
After you extract the embeddings into a storage file, use [SAM-RF Widget](#sam-rf-widget) and start adding some labels for the object of interest vs. the rest (background). *Please remember that you should start with the background and always use label **1** for the background*.
60+
5861
This plugin provides four widgets:
5962
- [SAM Embedding Extractor Widget](#sam-embedding-extractor-widget)
6063
- [SAM-RF Widget](#sam-rf-widget)
6164
- [Notes](#notes)
6265
- [SAM Prompt Segmentation Widget](#sam-prompt-segmentation-widget)
63-
- [SAM Predictor Widget](#sam-predictor-widget)
66+
- [SAM Predictor Widget](#sam-predictor-widget)
67+
<br><br>
68+
69+
## Plugin Showcase
70+
**Data was provided by _Johan Decelle_, _Kedige Ananya Rao_ and _Toullec Gaëlle Delphine_ from Université Grenoble Alpes, France.**
71+
72+
- Extracting the SAM Embeddings:
73+
<img src="images/user_data_shots/plugin_extract_embeddings.png" width=600 alt="embedding extractor" />
74+
75+
- Using SAM-RF Widget:
76+
- Adding Labels
77+
<img src="images/user_data_shots/plugin_sam_rf_1.png" width=600 alt="sam-rf 1" />
78+
- Prediction Progress
79+
<img src="images/user_data_shots/plugin_sam_rf_2.png" width=600 alt="sam-rf 2" />
80+
- Prediction Result
81+
<img src="images/user_data_shots/plugin_sam_rf_3.png" width=600 alt="sam-rf 3" />
82+
- Prediction Result with Post-Processing
83+
<img src="images/user_data_shots/plugin_sam_rf_4.png" width=600 alt="sam-rf 4" />
84+
- Segmentation Result for 5 Classes
85+
<img src="images/user_data_shots/plugin_sam_rf_5.png" width=600 alt="sam-rf 5" />
86+
87+
- Using SAM Predictor Widget:
88+
- Point Prompts
89+
<img src="images/user_data_shots/plugin_sam_predictor_1.png" width=600 alt="sam-p 1" />
90+
- Box Prompts
91+
<img src="images/user_data_shots/plugin_sam_predictor_2.png" width=600 alt="sam-p 2" />
6492

65-
Firs, you need extract the SAM embedding out of your stack. To do that use [SAM Embedding Extractor Widget](#sam-embedding-extractor-widget) widget.
66-
After you extract the embeddings into a storage file, use [SAM-RF Widget](#sam-rf-widget) and start adding some labels for the object of interest vs. the rest(background). *Please remember that you should start with the background and always use label **1** for the background*.
6793
<br><br>
6894

95+
## Widgets
6996
### SAM Embedding Extractor Widget
7097
The first step is to extract the SAM embeddings for the input stack, using the "SAM Embedding Extractor" widget. To do so, simply choose where to save the embedding storage file and hit the "Extract" button.
7198

1.06 MB
Loading
1.14 MB
Loading
1.11 MB
Loading
922 KB
Loading
974 KB
Loading
1.17 MB
Loading
802 KB
Loading
1.22 MB
Loading

0 commit comments

Comments
 (0)