A synthetic image was used to calculate the Dice coefficient of the proposed algorithm. The original synthetic image (270 × 238 pixels) and the ground truth edges (270 × 238 pixels) are shown in (a). The edges obtained by LRWEEDA, Canny, Prewitt, Sobel, Roberts and Zero cross algorithms are shown from left to right in (b). In (b), all the images are 270 × 238 pixels. The edges were compared with the ground truth in (c). The edges calculated by each algorithm and the ground truth edges are shown in green and purple, respectively. The overlap between the calculated edges and the ground truth is shown in white. The Dice coefficient for each algorithm is shown under each image. The red color box in (a) is enlarged for the analysis purpose in (d).