opencv sobel, canny, haar algorithm update