I want to detect edges of a binary image, in python. I know that the image must be in grayscale in order to apply edge detection techniques. Can I apply edge detection algor