| imgCanny {biOps} | R Documentation |
This function does edge detection using the Canny algorithm.
imgCanny(imgdata, sigma, low=0, high=-1)
imgdata |
The image |
sigma |
The standard deviation used for the gaussian smoothing convolution |
low |
The lower threshold for hysteresis |
high |
The higher threshold for hysteresis |
return an imagedata object
If not specified, the low and high parameters are estimated based in a histogram of the image.
## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgCanny(x, 0.7)
## End(Not run)