show the edge detection method