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
Copy file name to clipboardExpand all lines: runcellpose.py
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
importnumpy
2
2
importos
3
-
fromcellposeimportmodels, io, core
3
+
fromcellposeimportmodels, io, core, utils
4
4
fromskimage.transformimportresize
5
5
importimportlib.metadata
6
6
@@ -268,6 +268,15 @@ def set_directory_fn(path):
268
268
minval=-1,
269
269
doc="""\
270
270
Minimum number of pixels per mask, can turn off by setting value to -1
271
+
""",
272
+
)
273
+
274
+
self.remove_edge_masks=Binary(
275
+
text="Remove objects that are touching the edge?",
276
+
value=True,
277
+
doc="""
278
+
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.
0 commit comments