Figure 3: Mask showing edge pixel detection in horizontal, vertical and both diagonal directions (left) and edge image after removing most vessel and background (right).