switch between canny and sobel