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 plugin is based on [Appose](https://github.com/apposed/appose), that automatically install python environment and allows python script execution with shared objects with Fiji.
15
16
@@ -30,21 +31,39 @@ Press `Apply changes` and restart Fiji when it's done.
30
31
From Fiji
31
32
- Open the image that you want to process.
32
33
- Launch one of the cellpose version available in the plugin:
33
-
-`Plugins>Segmentation>Cellpose-Appose>Cellpose...`_see [here](#cellpose) for documentation_
34
-
-`Plugins>Segmentation>Cellpose-Appose>Cellpose-SAM...`_see [here](#cellpose-sam) for documentation_
35
-
- Configure your Cellpose run through the Graphic Interface
The full official Cellpose 4 documentation is available [here](https://cellpose.readthedocs.io/en/latest/).
40
+
- Configure your Cellpose run through the Graphic Interface. _see [here](#parameters) for documentation_
36
41
- Press "Ok" and Enjoy!
37
42
38
43
> [!NOTE]
39
-
> The python environment will be automatically installed in your home `.local\shared\appose` directory and activated from the plugin when needed.
44
+
> The first time you run each option of this plugin, a python environment with the requested Cellpose version will be automatically installed in your home `.local\shared\appose` directory, which will take some time. The next time you use the same option, the environment will be directly activated from the plugin when needed so it will be much faster.
45
+
46
+
>[!NOTE]
47
+
>Cellpose-SAM relies on a much bigger neural network than Cellpose3. Thus computation with this version takes longer and it is advised to have a GPU available.
48
+
49
+
## Parameters
50
+
51
+
After you selected a version of Cellpose, a graphical interface will pop-up to let you choose the parameters to run cellpose. See the Cellpose [documentation](https://cellpose.readthedocs.io/en/latest/) for full description of the parameters.
52
+
53
+
## Cellpose parameters
40
54
55
+
-`Cellpose model` (**Cellpose v3 only**): Select a pretrained model from Cellpose website. These models have been trained on dataset with specific biological objects, as for example nuclei for `nuclei` model. Select the model that corresponds the best to your data.
56
+
57
+
-`Path to custom model`: if you have fine-tuned or trained your own cellpose model, write here the full path to the directory containing the model files.
58
+
59
+
-`Diameter`: The prediction is sensitive to the size of the objects to detect, so you need to indicate the average diameter of the objects (cell or nuclei), in pixels. This parameter strongly affects the segmentation results for Cellpose v3, while Cellpose-SAM can handle a much bigger range of object sizes. Cellpose will resize your image(s) to have an average object size compatible to the one of the training data (30 pixels for most models), and resize back the results to your initial image size. _Default value is 30 pixel_.
41
60
42
-
## Cellpose
61
+
-`Channel selection`: Choose the color channel on the image to do the segmentation on (that contain the staining of your objects).
62
+
- For **Cellpose 3**: you can select one or two channels, one for the main object to segment (`Cytoplasmic channel`) and an optional one for the nuclei staining (`Nuclei chanel`). When you have both stainings, selecting also the nuclei channel can help the segmentation of the contour of the cell by giving more information.
63
+
- For **Cellpose-SAM**: Cellpose-SAM can use information from up to 3 channels to segment the objects. So select the number of channels that are relevant to segment your objects of interest.
64
+
65
+
-`Minimum Object Size`: At the end of the segmentation process, objects that are smaller in size (total area in pixel) from this parameter will be removed. This allows to get rid off small errors segmentation of only a few pixel. _Default value is 15 pixels^2_.
43
66
44
-
The option `Plugins>Segmentation>Cellpose-Appose>Cellpose...` allows to run CellPose v3.
45
67
46
-
## Cellpose-SAM
47
68
48
-
The option `Plugins>Segmentation>Cellpose-Appose>Cellpose-SAM...` allows to run CellPose v4 with SAM.
0 commit comments