imgradientxy
Find directional gradients of 2-D image
Description
Examples
Input Arguments
Output Arguments
Tips
When applying the gradient operator at the boundaries of the image, values outside the bounds of the image are assumed to equal the nearest image border value.
Algorithms
The algorithmic approach is to compute directional gradients with respect to the x-axis and y-axis. The x-axis is defined along the columns going right and the y-axis is defined along the rows going down.
imgradientxy
does not normalize the gradient
output. If the range of the gradient output image has to match the
range of the input image, consider normalizing the gradient image,
depending on the method
argument used. For example,
with a Sobel kernel, the normalization factor is 1/8, and for Prewitt,
it is 1/6.
Extended Capabilities
Version History
Introduced in R2012bSee Also
edge
| fspecial
| imgradient
| imgradient3
| imgradientxyz