image_contour_line | R Documentation |
Smooth Contour Line Detection
image_contour_line(img, index = "GRAY", Q = 2)
img |
An |
index |
A character string with the index to be used. Defaults to |
Q |
numeric value with the pixel quantization step |
A list with the contour lines.
if(interactive()){
library(pliman)
img <- image_pliman("sev_leaf.jpg")
conts <- image_contour_line(img, index = "B")
plot(img)
plot_contour(conts, col = "black")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.