Comparison of edge detection method