fix canny due to sobel_deriv use changed