From 5e5520962b1b7ac511dc9c5f0c750fbf1c89433a Mon Sep 17 00:00:00 2001 From: jbeckwith Date: Wed, 12 Jun 2024 17:58:37 +0100 Subject: [PATCH] Empirical Otsu Sanity Check --- DAB_Analysis_Functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DAB_Analysis_Functions.py b/DAB_Analysis_Functions.py index 32f9904..8be13d7 100644 --- a/DAB_Analysis_Functions.py +++ b/DAB_Analysis_Functions.py @@ -145,7 +145,7 @@ def otsu_filtering(self, image): if thresh > 0.025: mask = holes > thresh else: - mask = np.full_like(thresh, False) + mask = np.full_like(holes, False) return mask def analyse_DAB(self, img, filename):