powered by
Smooth Contour Line Detection
image_contour_line(img, index = "GRAY", Q = 2)
A list with the contour lines.
An Image object.
Image
A character string with the index to be used. Defaults to "GRAY".
"GRAY"
numeric value with the pixel quantization step
if(interactive()){ library(pliman) img <- image_pliman("sev_leaf.jpg") conts <- image_contour_line(img, index = "B") plot(img) plot_contour(conts, col = "black") }
Run the code above in your browser using DataLab