We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 898612e commit ec12ba1Copy full SHA for ec12ba1
1 file changed
particlespy/segptcls.py
@@ -55,7 +55,8 @@ def process(im, param):
55
if param.segment["watershed"]!=False:
56
labels = p_watershed(labels,param.segment["watershed_size"],param.segment["watershed_erosion"])
57
58
- labels = clear_border(labels)
+ if params.segment["clear_border"]!=False:
59
+ labels = clear_border(labels)
60
61
if param.segment["min_size"]!=0:
62
labels = remove_small_objects(labels,param.segment["min_size"])
0 commit comments