Canny Edge Detector for Images. Adapted from https://github.com/bnosac/image/tree/master/image.CannyEdges.
Value
a list with an image object with values 0 or 255, and the number of
pixels which have value 255 (pixels_nonzero).
Examples
if (FALSE) { # interactive()
library(pliman)
img <- image_pliman("sev_leaf.jpg")
conts <- image_canny_edge(img, index = "B")
image_combine(img, conts$edges)
}
