First time here? Check out the FAQ!
answered 2013-07-07 04:49:43 -0600
you need a grayscale image for this.
could convert after loading, but telling imread to do it, is easier:
img = cv2.imread("Lenna.png",0); // load 8bit gray