Skip to content

Commit

Permalink
removing todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio committed Sep 18, 2020
1 parent 0cdc51f commit 255e40f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/histolab/filters/image_filters_functional.py
Expand Up @@ -345,7 +345,6 @@ def local_otsu_threshold(
"""
if np.array(img).ndim != 2:
raise ValueError("Input must be 2D.")
# TODO: add function to check real finite number
if disk_size is None or disk_size < 0 or disk_size == np.inf:
raise ValueError("Disk size must be a positive number.")
img_arr = np.array(img)
Expand Down

0 comments on commit 255e40f

Please sign in to comment.