diff options
-rw-r--r-- | otsu2018.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otsu2018.py b/otsu2018.py index 4f84cd3..6533822 100644 --- a/otsu2018.py +++ b/otsu2018.py @@ -462,7 +462,7 @@ class Clustering: if node.leaf: return node - if xy[node.split_x_or_y] >= node.split_axis: + if xy[node.split_x_or_y] <= node.split_a1xis: return search(node.children[0]) else: return search(node.children[1]) |