Skip to content

Commit

Permalink
Merge 190cae5 into ad2b019
Browse files Browse the repository at this point in the history
  • Loading branch information
ngreenwald committed Sep 23, 2020
2 parents ad2b019 + 190cae5 commit 6f748ef
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions deepcell/applications/multiplex_segmentation.py
Expand Up @@ -185,16 +185,18 @@ def predict(self,
"""

if postprocess_kwargs_whole_cell is None:
postprocess_kwargs_whole_cell = {'maxima_threshold': 0.05, 'maxima_model_smooth': 0,
'interior_model_smooth': 2, 'interior_threshold': 0.2,
'small_objects_threshold': 10,
'fill_holes_threshold': 10}
postprocess_kwargs_whole_cell = {'maxima_threshold': 0.1, 'maxima_model_smooth': 0,
'interior_threshold': 0.3, 'interior_model_smooth': 2,
'small_objects_threshold': 15,
'fill_holes_threshold': 15,
'radius': 2}

if postprocess_kwargs_nuclear is None:
postprocess_kwargs_nuclear = {'maxima_threshold': 0.05, 'maxima_model_smooth': 0,
'interior_model_smooth': 2, 'interior_threshold': 0.3,
'small_objects_threshold': 10,
'fill_holes_threshold': 10}
postprocess_kwargs_nuclear = {'maxima_threshold': 0.1, 'maxima_model_smooth': 0,
'interior_threshold': 0.3, 'interior_model_smooth': 2,
'small_objects_threshold': 15,
'fill_holes_threshold': 15,
'radius': 2}

# create dict to hold all of the post-processing kwargs
postprocess_kwargs = {'whole_cell_kwargs': postprocess_kwargs_whole_cell,
Expand Down

0 comments on commit 6f748ef

Please sign in to comment.