Image gradient
The gradient of an image:
The gradient points in the direction of most rapid change in intensity
The gradient direction is given by:
•
how does this relate to the direction of the edge?
The
edge strength
is given by the gradient magnitude