Image Enhancement
EDGE ENHANCEMENT AND EXTRACTION
The gradient operator gives a measure of change in the image values
in the direction specified:
The magnitude of the gradient is a given by
For digital, differentiation is approximated by differences: