Skip to content

Commit

Permalink
In image_labeling_whole_well.py, rescale diameter when working with h…
Browse files Browse the repository at this point in the history
…igher levels (ref #104)
  • Loading branch information
tcompa committed Jul 15, 2022
1 parent 873e854 commit bae9bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fractal/tasks/image_labeling_whole_well.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
def image_labeling_whole_well(
zarrurl,
coarsening_xy=2,
labeling_level=1,
labeling_level=2,
labeling_channel=None,
chl_list=None,
relabeling=True,
Expand Down Expand Up @@ -104,7 +104,7 @@ def image_labeling_whole_well(
do_3D=False,
net_avg=False,
augment=False,
diameter=40.0,
diameter=(40.0 / coarsening_xy**labeling_level),
cellprob_threshold=0.0,
)
mask = np.expand_dims(mask, axis=0)
Expand Down

0 comments on commit bae9bd8

Please sign in to comment.