background preloader

The Scientist and Engineer's Guide to Digital Signal Processing's Table of Content

The Scientist and Engineer's Guide to Digital Signal Processing's Table of Content

imager: an R package for image processing Simon Barthelmé (GIPSA-lab, CNRS) R is a bit lacking in the area of image processing, where Matlab is still king. Imager aims to make image processing work in R easier. It is based on CImg, a C++ library by David Tschumperlé. CImg provides an easy-to-use and consistent API for image processing, which imager largely replicates. Features At this stage imager covers: loading and saving images in various formatsdisplaying and plotting imagesworking with pixel neighbourhoodsinterpolation and resizingfiltering and FFTsmorphological operations How to install The package Install the devtools package if you haven’t already. library(devtools) install_github("dahtah/imager") So far the package is only available as source code, so you’ll need a functional R build environment (Rtools on Windows, XCode on OS X). Dependencies You’ll also need ImageMagick and ffmpeg if you want to be able to import and save images. Getting started

Related: