image = image.filter(ImageFilter.GaussianBlur())
# GaussianBlur is undocumented class, it might not work in future versions
# of PIL
- image = Image.fromstring('L', image.size, pcf.edge(image.size, image.tostring()))
+ image = Image.fromstring('L', image.size,
+ pcf.edge(image.size, image.tostring()))
return image
def peaks(image):
c += 1
new_image_l[int(round(float(x_c)/c)), int(round(float(y_c)/c))] = 255
-
return new_image