Edges detection on canvas (using Sobel operator)