I am trying to write a program that counts the number of blobs in an image. I have read the image from the file and converted it to grayscale using PIL. I then turn it into