Skip to content

Commit 4b1b256

Browse files
author
Xin Bo Qi
committed
default for cell probability changed
1 parent 852f0ae commit 4b1b256

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cellpose2msk/flow2msk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as np
66
from scipy import ndimage as ndimg
77

8-
def flow2msk(flow, cell_prob, prob=0.0, grad=0.4, area=20, volume=100):
8+
def flow2msk(flow, cell_prob, prob=0.5, grad=0.4, area=20, volume=100):
99
shp, dim = flow.shape[:-1], flow.ndim - 1
1010
l = np.linalg.norm(flow, axis=-1)
1111
flow /= l.reshape(shp+(1,))

0 commit comments

Comments
 (0)