| imgPrewittCompassGradient {biOps} | R Documentation |
This function enhaces image's edges by convoluting with the Prewitt method. Base matrix is:
| 1 | 1 | -1 |
| 1 | -2 | -1 |
| 1 | 1 | -1 |
imgPrewittCompassGradient(imgdata)
imgdata |
The image |
return an imagedata object
## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgPrewittCompassGradient(x)
## End(Not run)