sobel | R Documentation |
Detect edges in an Image
object
sobel(x)
x |
An |
The following matrix and its transpose are sequentially applied in
filter2
to identify edges in the image as described
in this Wikipedia page.
[,1] [,2] [,3] [1,] 1 0 -1 [2,] 2 0 -2 [3,] 1 0 -1
An image object of the same size with edges highlighted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.