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
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-advanced-01.png" align='center' width='500' %}
10
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-advanced-01.png" align='center' width='500' %}
11
11
12
12
The advanced Omnipose integration in [TrackMate](/plugins/trackmate/index) works roughly as the [Omnipose integration](trackmate-omnipose). The omnipose advanced detector gives you the possibility to tune some Omnipose model hyper-parameters.
13
13
It requires Omnipose to be installed on your system and working independently. This page gives installation details and advices at how to use the omnipose advanced integration in TrackMate.
@@ -119,52 +119,50 @@ It is a relatively large image with a small pixel size (70 nm).
119
119
Each 2D frame is 1824 x 1896 and a bacteria of length 4 um is imaged over about 50 pixels.
120
120
With this image selected, run TrackMate (_Plugins > TrackMate_).
121
121
122
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-01.png" align='center' width='500' %}
122
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-01.png" align='center' width='500' %}
123
123
124
-
In the detector selection panel, pick the **omnipose advanced detector**.
124
+
In the detector selection panel, pick the **Omnipose advanced detector**.
125
125
126
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-advanced-tutorial-02.png" align='center' width='300' %}
126
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-advanced-tutorial-02.png" align='center' width='300' %}
127
127
128
128
The configuration panel is quasi identical to that of the omnipose detector.
129
129
Here, the default values will give us satisfactory results.
130
-
You just need to edit the path to the python executable on your computer.
131
-
For a windows computer where omnipose has been installed following the instructions above, this path is something like `C:\Users\tinevez\anaconda3\envs\omnipose-106\python.exe`.
132
-
For a Mac computer, the path will be like `/opt/miniforge/base/envs/omnipose-106/bin/python`.
130
+
You just need to set the conda environment to be the one where you installed Omnipose.
133
131
134
-
To change the values of the flow and mask thresholds, you need to slide their associated cursor in the panel.
132
+
The values of the flow and mask thresholds are set with two sliders and number inputs.
135
133
136
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-advanced-tutorial-03.png" align='center' width='300' %}
134
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-advanced-tutorial-03.png" align='center' width='300' %}
137
135
138
136
Click the `Preview` button to check that the settings give correct results.
139
137
Here the quality is equal to the number of pixels inside detected objects.
140
138
We see that there are some very small objects with settings we have, but otherwise the results are excellent with the default parameters.
141
139
142
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-advanced-tutorial-04.png" align='center' width='500' %}
140
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-advanced-tutorial-04.png" align='center' width='500' %}
143
141
144
142
We can now run the detection over the whole movie by clicking the `Next` button.
145
143
On my windows machine with a NVIDIA 2080Ti, it takes about 3 to 4 seconds per frame.
146
144
147
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-advanced-tutorial-05.png" align='center' width='500' %}
145
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-advanced-tutorial-05.png" align='center' width='500' %}
148
146
149
147
When done, click `Next` to reach the initial filtering panel.
150
148
The quality histogram displays a small peak at low quality, corresponding to small spurious objects.
151
149
We can filter them out by setting the threshold in between the two peaks in the histogram.
152
150
153
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-06.png" align='center' %}
151
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-06.png" align='center' width='300' %}
154
152
155
153
We can skip filtering objects.
156
154
Click `Next` until you reach the tracker selection panel.
157
155
The bacteria do not move much, but divide, pushing each other away.
158
156
We found out that for this kind of dynamics the **Overlap tracker** gives good tracking results.
159
157
160
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-07.png" align='center' %}
158
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-07.png" align='center' width='300' %}
161
159
162
160
A few parameter needs to be tuned.
163
161
For the `Min IoU` we use **0.1**.
164
162
For the `Scale factor` we use **1.3**.
165
163
Click `Next`.
166
164
167
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-08.png" align='center' %}
165
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-08.png" align='center' width='300' %}
168
166
169
167
This yields a good lineage of the bacteria.
170
168
We see each "colony" grows, and mix with the close ones.
@@ -177,16 +175,16 @@ In the display settings window that appear, make the following changes:
177
175
- for `spot color`, select **Track index**
178
176
- uncheck `draw tracks`
179
177
180
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-09.png" align='center' %}
178
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-09.png" align='center' %}
181
179
182
180
The lineages that we see in the [TrackScheme](/plugins/trackmate/views/trackscheme) window show that for some bacteria, there might be some linking errors late in the movie.
183
181
But overall we could correctly detect the division events over 5 generations in this movie.
184
182
185
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-10.png" align='center' %}
183
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-10.png" align='center' %}
186
184
187
185
In the very last panel of TrackMate, an action called **Plot N spots vs time** highlights the exponential growth of the bacteria:
188
186
189
-
{% include img src="/media/plugins/trackmate/detectors/trackmate-omnipose-tutorial-11.png" align='center' %}
187
+
{% include img src="/media/plugins/trackmate/detectors/cellpose/trackmate-omnipose-tutorial-11.png" align='center' %}
0 commit comments