better peak extraction
[imago.git] / filters.py
index 397a371..c53b6e8 100644 (file)
@@ -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: