View source: R/canny_edges_detector.R
plot.image_canny | R Documentation |
Plot the result of image_canny_edge_detector
## S3 method for class 'image_canny'
plot(x, ...)
x |
an object of class image_canny as returned by |
... |
further arguments passed on to plot, except type, xlab and ylab which are set inside the function |
invisible()
library(pixmap)
imagelocation <- system.file("extdata", "chairs.pgm", package="image.CannyEdges")
image <- read.pnm(file = imagelocation, cellres = 1)
edges <- image_canny_edge_detector(image@grey * 255)
plot(edges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.