Description Usage Arguments Value Examples
This function does edge detection using the Shen-Castan algorithm.
1 | imgShenCastan(imgdata, smooth_factor=0.9, thin_factor=2, adapt_window=7, thresh_ratio=0.8, do_hysteresis=1)
|
imgdata |
The image |
smooth_factor |
The smooth factor |
thin_factor |
The thinning factor |
adapt_window |
The size of the window for adaptive gradient |
thresh_ratio |
The percentage of pixels to be above high threshold |
do_hysteresis |
If true, do hysteresis |
return an imagedata object
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgShenCastan(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.