| imgDifferenceEdgeDetection {biOps} | R Documentation |
This function enhaces image's edge by the difference method. It uses a 3x3 matrix to determine the current pixel value (by getting the maximum value between the distances of matrix's opposite neighbors
imgDifferenceEdgeDetection(imgdata, bias)
imgdata |
The image |
bias |
Value to be added to each pixel after method is applied (used to correct some expected behaviour). This argument is optional (default = 32) |
return an imagedata object
## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgDifferenceEdgeDetection(x, bias=64)
## End(Not run)