Image erosion and dilation with Scipy,"im = scipy.misc.imread('flower.png', flatten=True).astype(np.uint8)"