imgCanny {biOps}R Documentation

Canny Edge Detection Method

Description

This function does edge detection using the Canny algorithm.

Usage

imgCanny(imgdata, sigma, low=0, high=-1)

Arguments

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

Value

return an imagedata object

Note

If not specified, the low and high parameters are estimated based in a histogram of the image.

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- imgCanny(x, 0.7)
        
## End(Not run)

[Package biOps version 0.2.1 Index]