X-Git-Url: http://git.tomasm.cz/imago.git/blobdiff_plain/3a843a5f148dd7728130b33ef406c0de08cb4dcc..ecb0ef2b5ea477ee170ce083f59d2200af7117a2:/filters.py diff --git a/filters.py b/filters.py index 397a371..c53b6e8 100644 --- a/filters.py +++ b/filters.py @@ -20,7 +20,7 @@ def peaks(image): - image_l[a, b] for b in range(y - 2, y + 3)]) for a in range(x - 2, x + 3)]) - + (16 * image_l[x, y])) + + (17 * image_l[x, y])) if pix > 255: pix = 255 if pix < 0: