Figure 2
From: An improved approach for the segmentation of starch granules in microscopic images

8-neighbour directions for searching critical points and vector cosine similarity. The ideal critical point should have a GVF force pointing outward in its 8-neighbourhood.The cosine similarity defines the cosine angle between the vectors, with values between 0 and 1.