Setting up Canny edge detection.