plot.image_canny {image.CannyEdges} | 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)