Next: Compass Gradient Operations
Up: gradient
Previous: The Gradient Operator
For discrete digital images, the derivative in gradient operation
becomes the difference
Two steps for finding discrete gradient of a digital image:
- Find the difference:
in the two directions:
- Find the magnitude and direction of the gradient vector:
The differences in two directions
and
can be obtained by
convolution with the following kernels:
- Roberts
or
- Sobel (3x3)
- Prewitt (3x3)
- Prewitt (4x4)
Note Sobel and Prewitt operators first find the averages of one direction
and then find the difference of these averages in the another direction.
Next: Compass Gradient Operations
Up: gradient
Previous: The Gradient Operator
Ruye Wang
2016-10-18