Skip to content

Commit

Permalink
Fix in retinex
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingTil committed Nov 6, 2023
1 parent bac56e7 commit b7ecf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eiuie/retinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_gaussian_blur(
gaussian blurred image
"""
# if ksize == 0, then compute ksize from sigma
if ksize is None:
if ksize is None or ksize == 0:
ksize = get_ksize(sigma)

# Gaussian 2D-kernel can be seperable into 2-orthogonal vectors
Expand Down

0 comments on commit b7ecf5c

Please sign in to comment.