ABSTRACT

The edge magnitude M(i, j) is the magnitude of the gradient, and the edge direction q (i, j) is rotated 90° clockwise with respect to the gradient direction. Edges are very useful in finding the border of a region.