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
You can then start the `micro_sam` tools by running `$ micro_sam.annotator` in the command line.
29
29
30
+
For an introduction in how to use the napari based annotation tools check out [the video tutorials](https://www.youtube.com/watch?v=ket7bDUP9tI&list=PLwYZXQJ3f36GQPpKCrSbHjGiH39X4XjSO&pp=gAQBiAQB).
30
31
Please check out [the documentation](https://computational-cell-analytics.github.io/micro-sam/) for more details on the installation and usage of `micro_sam`.
Copy file name to clipboardExpand all lines: doc/annotation_tools.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,22 @@ The annotation tools can be started from the `micro_sam` GUI, the command line o
13
13
$ micro_sam.annotator
14
14
```
15
15
16
-
They are built with[napari](https://napari.org/stable/) to implement the viewer and user interaction.
16
+
They are built using[napari](https://napari.org/stable/)and [magicgui](https://pyapp-kit.github.io/magicgui/)to provide the viewer and user interface.
17
17
If you are not familiar with napari yet, [start here](https://napari.org/stable/tutorials/fundamentals/quick_start.html).
18
-
The `micro_sam` applications are mainly based on [the point layer](https://napari.org/stable/howtos/layers/points.html), [the shape layer](https://napari.org/stable/howtos/layers/shapes.html) and [the label layer](https://napari.org/stable/howtos/layers/labels.html).
18
+
The `micro_sam` tools use [the point layer](https://napari.org/stable/howtos/layers/points.html), [shape layer](https://napari.org/stable/howtos/layers/shapes.html) and [label layer](https://napari.org/stable/howtos/layers/labels.html).
19
+
20
+
The annotation tools are explained in detail below. In addition to the documentation here we also provide [video tutorials](https://www.youtube.com/watch?v=ket7bDUP9tI&list=PLwYZXQJ3f36GQPpKCrSbHjGiH39X4XjSO).
21
+
22
+
23
+
## Starting via GUI
24
+
25
+
The annotation toools can be started from a central GUI, which can be started with the command `$ micro_sam.annotator` or using the executable [from an installer](#from-installer).
26
+
27
+
In the GUI you can select with of the four annotation tools you want to use:
And after selecting them a new window will open where you can select the input file path and other optional parameter. Then click the top button to start the tool. **Note: If you are not starting the annotation tool with a path to pre-computed embeddings then it can take several minutes to open napari after pressing the button because the embeddings are being computed.**
31
+
19
32
20
33
## Annotator 2D
21
34
@@ -44,7 +57,7 @@ It contains the following elements:
44
57
45
58
Note that point prompts and box prompts can be combined. When you're using point prompts you can only segment one object at a time. With box prompts you can segment several objects at once.
46
59
47
-
Check out [this video](https://youtu.be/DfWE_XRcqN8) for an example of how to use the interactive 2d annotator.
60
+
Check out [this video](https://youtu.be/ket7bDUP9tI) for a tutorial for the 2d annotation tool.
48
61
49
62
We also provide the `image series annotator`, which can be used for running the 2d annotator for several images in a folder. You can start by clicking `Image series annotator` in the GUI, running `micro_sam.image_series_annotator` in the command line or from a [python script](https://github.com/computational-cell-analytics/micro-sam/blob/master/examples/image_series_annotator.py).
50
63
@@ -69,7 +82,7 @@ Most elements are the same as in [the 2d annotator](#annotator-2d):
69
82
70
83
Note that you can only segment one object at a time with the 3d annotator.
71
84
72
-
Check out [this video](https://youtu.be/5Jo_CtIefTM) for an overview of the interactive 3d segmentation functionality.
85
+
Check out [this video](https://youtu.be/PEy9-rTCdS4) for a tutorial for the 3d annotation tool.
73
86
74
87
## Annotator Tracking
75
88
@@ -93,7 +106,7 @@ Most elements are the same as in [the 2d annotator](#annotator-2d):
93
106
94
107
Note that the tracking annotator only supports 2d image data, volumetric data is not supported.
95
108
96
-
Check out [this video](https://youtu.be/PBPW0rDOn9w) for an overview of the interactive tracking functionality.
109
+
Check out [this video](https://youtu.be/Xi5pRWMO6_w) for a tutorial for how to use the tracking annotation tool.
Copy file name to clipboardExpand all lines: doc/installation.md
+52-36Lines changed: 52 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# Installation
2
2
3
-
`micro_sam` requires the following dependencies:
3
+
We provide three different ways of installing `micro_sam`:
4
+
-[From conda](#from-conda) is the recommended way if you want to use all functionality.
5
+
-[From source](#from-source) for setting up a development environment to change and potentially contribute to our software.
6
+
-[From installer](#from-installer) to install without having to use conda. This mode of installation is still experimental! It only provides the annotation tools and does not enable model finetuning.
Note that these installers are stil experimental and not yet fully tested.
38
-
If you encounter problems with them then please consider installing `micro_sam` via [conda](#from-conda) instead.
39
-
40
-
**Linux Installer:**
41
-
42
-
To use the installer:
43
-
- Unpack the you have downloaded.
44
-
- Make the installer executable: `$ chmod +x micro_sam-0.2.0post1-Linux-x86_64.sh`
45
-
- Run the installer: `$./micro_sam-0.2.0post1-Linux-x86_64.sh$`
46
-
- You can select where to install `micro_sam` during the installation. By default it will be installed in `$HOME/micro_sam`.
47
-
- The installer will unpack all `micro_sam` files to the installation directory.
48
-
- After the installation you can start the annotator with the command `.../micro_sam/bin/micro_sam.annotator`.
49
-
- To make it easier to run the annotation tool you can add `.../micro_sam/bin` to your `PATH` or set a softlink to `.../micro_sam/bin/micro_sam.annotator`.
50
-
51
-
**Mac Installer:**
52
-
53
-
To use the Mac installer you will need to enable installing unsigned applications. Please follow [the instructions for 'Disabling Gatekeeper for one application only' here](https://disable-gatekeeper.github.io/).
- Install `micro_sam` by running `pip install -e .` in this folder.
106
77
-**Note:** we have seen many issues with the pytorch installation on MAC. If a wrong pytorch version is installed for you (which will cause pytorch errors once you run the application) please try again with a clean `mambaforge` installation. Please install the `OS X, arm64` version from [here](https://github.com/conda-forge/miniforge#mambaforge).
107
78
- Some MACs require a specific installation order of packages. If the steps layed out above don't work for you please check out the procedure described [in this github issue](https://github.com/computational-cell-analytics/micro-sam/issues/77).
**The installers are stil experimental and not fully tested.** Mac is not supported yet, but we are working on also providing an installer for it.
91
+
92
+
If you encounter problems with them then please consider installing `micro_sam` via [conda](#from-conda) instead.
93
+
94
+
**Linux Installer:**
95
+
96
+
To use the installer:
97
+
- Unpack the zip file you have downloaded.
98
+
- Make the installer executable: `$ chmod +x micro_sam-0.2.0post1-Linux-x86_64.sh`
99
+
- Run the installer: `$./micro_sam-0.2.0post1-Linux-x86_64.sh$`
100
+
- You can select where to install `micro_sam` during the installation. By default it will be installed in `$HOME/micro_sam`.
101
+
- The installer will unpack all `micro_sam` files to the installation directory.
102
+
- After the installation you can start the annotator with the command `.../micro_sam/bin/micro_sam.annotator`.
103
+
- To make it easier to run the annotation tool you can add `.../micro_sam/bin` to your `PATH` or set a softlink to `.../micro_sam/bin/micro_sam.annotator`.
104
+
105
+
<!---
106
+
**Mac Installer:**
107
+
108
+
To use the Mac installer you will need to enable installing unsigned applications. Please follow [the instructions for 'Disabling Gatekeeper for one application only' here](https://disable-gatekeeper.github.io/).
- Choose installation path. By default it will be installed in `C:\Users\<Username>\micro_sam` for `Just Me` installation or in `C:\ProgramData\micro_sam` for `All Users`.
122
+
- The installer will unpack all micro_sam files to the installation directory.
123
+
- After the installation you can start the annotator by double clicking on `.\micro_sam\Scripts\micro_sam.annotator.exe` or with the command `.\micro_sam\Scripts\micro_sam.annotator.exe` from the Command Prompt.
0 commit comments