You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo adds some support to use [Spotiflow](https://github.com/weigertlab/spotiflow) within QuPath through a Python virtual environment.
9
9
10
10
> [!WARNING]
11
-
> This extension is developed for QuPath 0.5.x
11
+
> This extension is developed for QuPath 0.6.x
12
12
13
13
14
14
# Citing
@@ -24,13 +24,14 @@ As this code is neither novel nor entirely original, there is no linked publicat
24
24
## Code authorship
25
25
**Author**: Rémy Dornier (1)
26
26
27
-
**Contributors**: Olivier Burri (1), Nicolas Chiaruttini (1), Romain Guiet (1)
27
+
**Contributors**: Albert Dominguez Mantes (2), Olivier Burri (1), Nicolas Chiaruttini (1), Romain Guiet (1)
28
28
29
29
This code heavily mirrors functions and design implemented in [QuPath Cellpose](https://github.com/BIOP/qupath-extension-cellpose).
30
30
31
31
**Affiliations**
32
32
33
33
(1) EPFL BioImaging and Optics Platform (BIOP)
34
+
(2) EPFL Weigert Lab
34
35
35
36
### If you use this extension, you should cite the following publications
36
37
@@ -92,11 +93,27 @@ On macOS or Linux:
92
93
where `{HOME}` will be the location of your home directory, typically `/Users/user-name/` on macOS or `/home/user-name/` on Linux.
93
94
94
95
## Step 2: Install the QuPath Spotiflow extension
96
+
### On QuPath 0.6.x
95
97
96
-
Download the latest `qupath-extension-spotiflow-[version].jar` file from [releases](https://github.com/biop/qupath-extension-spotiflow/releases) and unzip it into your `extensions` directory.
98
+
- Open QuPath
99
+
- Go under `Extensions -> Manage extensions`
100
+
- Expand the `QuPath-BIOP catalog`
97
101
98
-
If your extensions directory is unset, drag & drop `qupath-extension-spotiflow-[version].jar` onto the main QuPath window. You'll be prompted to select a QuPath user directory.
99
-
The extension will then be copied to a location inside that directory.
102
+
> Note: if you don't have the **QuPath-BIOP-catalog** installed, please follow the [catalog installation steps](https://github.com/BIOP/qupath-biop-catalog?tab=readme-ov-file#installation)
103
+
104
+
- Search for `QuPath Spotiflow extension` and click on the green button
105
+
- Select the latest version
106
+
- Click on `Install`
107
+
108
+
> Note: If you need to update the extension, click on the ⚙️ button and select the latest version to install.
109
+
110
+
### On QuPath 0.5.x
111
+
112
+
Download the latest `qupath-extension-spotiflow-[version].jar` file from [releases](https://github.com/biop/qupath-extension-spotiflow/releases) and copy it into your extensions directory.
113
+
114
+
If your extensions directory is unset, drag & drop `qupath-extension-spotiflow-[version].jar` onto the main QuPath window.
115
+
You'll be prompted to select a QuPath user directory. The extension will then be copied to a location inside that directory.
116
+
You finally need to restart QuPath.
100
117
101
118
<!--
102
119
To copy `run-cellpose-qc.py`, go to Extensions > Installed Extensions and click on "Open Extensions Directory". You can place the `run-cellpose-qc.py` in the same folder.
@@ -147,7 +164,7 @@ Running Spotiflow is done via a script and is very similar to the excellent [QuP
Or you can download the [Spotiflow_detection_template.groovy](src/main/resources/scripts/Spotiflow_detection_template.groovy) script from this repo and open it in the QuPath script editor.
153
170
@@ -156,7 +173,7 @@ Or you can download the [Spotiflow_detection_template.groovy](src/main/resources
156
173
157
174
### Getting all available arguments
158
175
159
-
All builder options that are implemented are documented [in the Javadoc](https://biop.github.io/qupath-extension-spotiflow/).
176
+
All builder options that are implemented are documented [in the Javadoc](https://biop.github.io/qupath-extension-spotiflow/qupath/ext/biop/spotiflow/SpotiflowBuilder.html).
160
177
You can pass additional options to `spotiflow` by adding `.addParameter()` before the `.build()` line.
161
178
162
179
To get the available additional arguments, call the help from the `spotiflow` object using `spotiflow.helpPredict()`
0 commit comments