plot.cld {image.ContourDetector} | R Documentation |
Plot the detected contour lines from the image_contour_detector
Description
Plot the detected contour lines from the image_contour_detector
Usage
## S3 method for class 'cld'
plot(x, ...)
Arguments
x |
an object of class cld as returned by |
... |
further arguments passed on to plot |
Value
invisibly a SpatialLines object with the contour lines
Examples
library(pixmap)
imagelocation <- system.file("extdata", "image.pgm", package="image.ContourDetector")
image <- read.pnm(file = imagelocation, cellres = 1)
contourlines <- image_contour_detector(image@grey * 255)
plot(image)
plot(contourlines, add = TRUE, col = "red")
[Package image.ContourDetector version 0.1.1 Index]