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