image.CannyEdges v0.1.0

0

Monthly downloads

0th

Percentile

Implementation of the Canny Edge Detector for Images

An implementation of the Canny Edge Detector for detecting edges in images. The package provides an interface to the algorithm available at <https://github.com/Neseb/canny>.

Readme

image.CannyEdges - Canny Edge Detector for Images

The image.CannyEdges R package detects edges in images.

  • It contains 1 main function image_canny_edge_detector. If you give it an image matrix with grey scale values in the 0-255 range, it will find edges in the image.

Examples

Read in an image with values in the 0-255 range (pgm image: http://netpbm.sourceforge.net/doc/pgm.html)

library(image.CannyEdges)
library(pixmap)
imagelocation <- system.file("extdata", "chairs.pgm", package="image.CannyEdges")
image <- read.pnm(file = imagelocation, cellres = 1)
x <- image@grey * 255

edges <- image_canny_edge_detector(x)
edges
plot(edges)

Installation

The package requires libpng and fftw3 to be installed In Ubuntu this is done as follows

sudo apt-get install libpng-dev fftw3 fftw3-dev

Support in image recognition

Need support in image recognition? Contact BNOSAC: http://www.bnosac.be

Functions in image.CannyEdges

Name Description
image_canny_edge_detector Canny Edge Detector for Images
plot.image_canny Plot the result of the Canny Edge Detector
image.CannyEdges-package Implementation of the Canny Edge Detector for Images
No Results!

Last month downloads

Details

Type Package
License GPL-3
URL https://github.com/bnosac/image
Encoding UTF-8
LinkingTo Rcpp
RoxygenNote 7.1.0
SystemRequirements libpng, fftw3
NeedsCompilation yes
Packaged 2020-07-27 13:20:52 UTC; Jan
Repository CRAN
Date/Publication 2020-08-01 11:00:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/image.CannyEdges)](http://www.rdocumentation.org/packages/image.CannyEdges)