Skip to content

Commit

Permalink
Undo changes to workflow example
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Dec 21, 2023
1 parent 3023154 commit 90f3523
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

#Channel specific thresholding

from napari_lattice import config
from skimage.filters import threshold_triangle, threshold_otsu

def segment_multich(img):
Expand All @@ -10,4 +11,4 @@ def segment_multich(img):
#if second channel, use Otsu threshold
elif config.channel == 1:
binary_img = threshold_otsu(img)
return binary_img
return binary_img

0 comments on commit 90f3523

Please sign in to comment.