Skip to content

Commit

Permalink
Update browser/caliban.py
Browse files Browse the repository at this point in the history
Co-authored-by: willgraf <7930703+willgraf@users.noreply.github.com>
  • Loading branch information
tddough98 and willgraf committed Dec 23, 2020
1 parent 44ed5ed commit 77063bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/caliban.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def action_active_contour(self, label):
contoured = morphological_chan_vese(predict_area, 100, init_level_set=level_set)

# contoured area should get original label value
contoured_label = np.where(contoured, label, 0)
contoured_label = contoured_label * label
# contours tend to fit very tightly, a small expansion here works well
contoured_label = dilation(contoured_label, disk(3))

Expand Down

0 comments on commit 77063bb

Please sign in to comment.