get_gradient | R Documentation |
Compute image gradient.
get_gradient(im, axes = "", scheme = 3L)
im |
an image |
axes |
Axes considered for the gradient computation, as a C-string (e.g "xy"). |
scheme |
= Numerical scheme used for the gradient computation: 1 = Backward finite differences 0 = Centered finite differences 1 = Forward finite differences 2 = Using Sobel masks 3 = Using rotation invariant masks 4 = Using Deriche recursive filter. 5 = Using Van Vliet recursive filter. |
a list of images (corresponding to the different directions)
imgradient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.