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
@@ -95,7 +97,7 @@ class RunCellpose(ImageSegmentation):
95
97
96
98
module_name="RunCellpose"
97
99
98
-
variable_revision_number=4
100
+
variable_revision_number=6
99
101
100
102
doi= {
101
103
"Please cite the following when using RunCellPose:": "https://doi.org/10.1038/s41592-020-01018-x",
@@ -105,6 +107,16 @@ class RunCellpose(ImageSegmentation):
105
107
defcreate_settings(self):
106
108
super(RunCellpose, self).create_settings()
107
109
110
+
self.rescale=Binary(
111
+
text="Rescale images before running Cellpose",
112
+
value=True,
113
+
doc="""\
114
+
Reminds the user that the normalization step will be performed to ensure suimilar segmentation behaviour in the RunCellpose
115
+
module and the Cellpose app.
116
+
"""
117
+
)
118
+
119
+
108
120
self.docker_or_python=Choice(
109
121
text="Run CellPose in docker or local python environment",
110
122
choices=["Docker", "Python"],
@@ -334,12 +346,21 @@ def set_directory_fn(path):
334
346
doc="""
335
347
If you do not want to include any object masks that are not in full view in the image, you can have the masks that have pixels touching the the edges removed.
336
348
The default is set to "Yes".
349
+
""",
350
+
)
351
+
352
+
self.probability_rescale_setting=Binary(
353
+
text="Rescale probability map?",
354
+
value=True,
355
+
doc="""
356
+
Activate to rescale probability map to 0-255 (which matches the scale used when running this module from Docker)
0 commit comments