| imgSobel {biOps} | R Documentation |
This function enhaces image's edges by convoluting with the Sobel method matrices:
| H_r | H_c | |||||
| 1 | 0 | -1 | || | -1 | -2 | -1 |
| 2 | 0 | -2 | || | 0 | 0 | 0 |
| 1 | 0 | -1 | || | 1 | 2 | 1 |
imgSobel(imgdata)
imgdata |
The image |
return an imagedata object
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgSobel(x)