Skip to content

Commit 63d34f0

Browse files
committed
Add a note about random colors and labels of same color.
1 parent 57e2a59 commit 63d34f0

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

_pages/plugins/trackmate/tutorials/trackmate-segmentation-editor.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ In this page we explain how to use it to modify segmentation results directly in
1212

1313
## The editor
1414

15+
The spot editor can be launched from the _Display options_ panel of TrackMate:
16+
17+
{% include img src="/media/plugins/trackmate/spot-editor/trackmate-spot-editor-tuto-04.png" align="center" %}
18+
19+
This button is visible only for 2D images.
20+
When clicking on this button, the user interface of TrackMate is frozen and a new window appear:
21+
22+
{% include img src="/media/plugins/trackmate/spot-editor/trackmate-spot-editor-tuto-06.png" align="center" %}
23+
1524
The editor is made of several UI components:
1625
- The main editor panel, where the image is painted along with the spot masks (center).
1726
- The side panel (left) that contains from top to bottom:
@@ -72,8 +81,15 @@ In TrackMate, 2D spots are polygons, but we found out that painting inside the i
7281

7382
The editor will display the spots as a 'labeling', a colored image where the pixels inside each spot is painted with a specific label.
7483
All the labels corresponding to the spots in the image are listed on the left side bar.
75-
Modifying a spot is adding a removing pixels from its shape.
84+
The are created with the same color and name that of the spot they correspond to.
85+
86+
So it is possible that two different spots will lead to two different labels in the editor, but with the same color, which will make them indisinguishable.
87+
If this is the case we recommend changing the spot coloring before launching the editor.
88+
For instance, selecting the _Random color_ mode.
7689

90+
{% include img src="/media/plugins/trackmate/spot-editor/TrackMate-Editor-RandomColoring.png" align="center" width="300" %}
91+
92+
Modifying a spot is adding a removing pixels from its shape.
7793
There is a gotcha however: When you finish editing the actual label of a spot does not matter anymore.
7894
For instance, if you paint a new spot with an existing label, so that the new spot is disconnected from the initial spot or even on another time-point, the new spot will be created as a separated one in TrackMate.
7995
The fact that the initial spot and the new one have the same label plays no role if they are not touching.
115 KB
Loading

0 commit comments

Comments
 (0)