imager: Image Processing Library Based on 'CImg'

Fast image processing for images in up to 4 dimensions (two spatial dimensions, one time/depth dimension, one colour dimension). Provides most traditional image processing tools (filtering, morphology, transformations, etc.) as well as various functions for easily analysing image data using R. The package wraps CImg, <http://cimg.eu>, a simple, modern C++ library for image processing.

AuthorSimon Barthelme [aut, cre], Antoine Cecchi [ctb]
Date of publication2016-09-12 15:08:55
MaintainerSimon Barthelme <simon.barthelme@gipsa-lab.fr>
LicenseLGPL
Version0.31
http://dahtah.github.io/imager
https://github.com/dahtah/imager

View on CRAN

Man pages

add.colour: Add colour channels to an grayscale image

as.cimg: Convert to cimg object

as.cimg.array: Turn an numeric array into a cimg object

as.cimg.data.frame: Create an image from a data.frame

as.cimg.function: Create an image by sampling a function

as.data.frame.cimg: Convert a pixel image to a data.frame

as.data.frame.imlist: Convert image list to data.frame

as.list.imlist: Convert image list to list

as.raster.cimg: Convert a cimg object to a raster object for plotting

at: Return or set pixel value at coordinates

autocrop: Autocrop image region

blur_anisotropic: Blur image anisotropically, in an edge-preserving way.

boats: Photograph of sailing boats from Kodak set

boxblur: Blur image with a box filter (square window)

boxblur_xy: Blur image with a box filter.

bucketfill: Bucket fill

capture.plot: Capture the current R plot device as a cimg image

center.stencil: Center stencil at a location

channels: Split a colour image into a list of separate channels

cimg: Create a cimg object

cimg2im: Convert cimg to spatstat im object

cimg.dimensions: Image dimensions

cimg.extract: Various shortcuts for extracting colour channels, frames, etc

cimg.use.openmp: Control CImg's parallelisation

convolve: Convolve image by filter.

coord.index: Coordinates from pixel index

correlate: Correlation of image by filter

crop.borders: Crop the outer margins of an image

deriche: Apply recursive Deriche filter.

diffusion_tensors: Compute field of diffusion tensors for edge-preserving...

displacement: Estimate displacement field between two images.

display: Display object using CImg library

display.cimg: Display image using CImg library

display.list: Display image list using CImg library

distance_transform: Compute Euclidean distance function to a specified value.

erode: Erode/dilate image by a structuring element.

extract_patches: Extract image patches and return a list

FFT: Compute the Discrete Fourier Transform of an image

frames: Split a video into separate frames

get_gradient: Compute image gradient.

get_hessian: Return image hessian.

get.locations: Return coordinates of subset of pixels

get.stencil: Return pixel values in a neighbourhood defined by a stencil

grab: Select image regions interactively

grapes-inr-grapes: Check that value is in a range

grayscale: Convert an RGB image to grayscale

haar: Compute Haar multiscale wavelet transform.

idply: Split an image along axis, apply function, return a...

iiply: Split an image, apply function, recombine the results as an...

ilply: Split an image along axis, apply function, return a list

im2cimg: Convert an image in spatstat format to an image in cimg...

imager: imager: an R library for image processing, based on CImg

imager.colourspaces: Colour space conversions in imager

imager.combine: Combining images

imager.replace: Replace part of an image with another

imager.subset: Array subset operator for cimg objects

imappend: Combine a list of images into a single image

imcoord: Coordinates as images

imdirac: Generates a "dirac" image, i.e. with all values set to 0...

imdraw: Draw image on another image

imeval: Pixel-wise evaluation of a CImg expression

imfill: Create an image of custom size by filling in repeated values

imgradient: Compute image gradient

imhessian: Compute image hessian.

iminfo: Return information on image file

imlist: Image list

imnoise: Generate (Gaussian) white-noise image

imrotate: Rotate image by an arbitrary angle.

imsharpen: Sharpen image.

imshift: Shift image content.

imsplit: Split an image along a certain axis (producing a list)

im_split: Split an image along a certain axis (producing a list)

imsub: Select part of an image

imwarp: Image warping

index.coord: Linear index in internal vector from pixel coordinates

interp: Interpolate image values

is.cimg: Checks that an object is a cimg object

isoblur: Blur image isotropically.

label: Label connected components.

liply: Apply function to each element of a list, then combine the...

load.example: Load example image

load.image: Load image from file or URL

map_il: Type-stable map for use with the purrr package

medianblur: Blur image with the median filter. In a window of size n x n...

mirror: Mirror image content along specified axis

pad: Pad image with n pixels along specified axis

patchstat: Return image patch summary

patch_summary_cimg: Extract a numerical summary from image patches, using CImg's...

periodic.part: Compute the periodic part of an image, using the...

permute_axes: Permute image axes

pixel.grid: Return the pixel grid for an image

play: Play a video

plot.cimg: Display an image using base graphics

plot.imlist: Plot an image list

renorm: Renormalise image

resize: Resize image to new dimensions. If pd[x,y,z,v]<0, it...

resize_uniform: Resize image uniformly

rotate_xy: Rotate image by an arbitrary angle, around a center point.

save.image: Save image

selectSimilar: Select a region of homogeneous colour

squeeze: Remove empty dimensions from an array

stencil.cross: A cross-shaped stencil

threshold: Threshold grayscale image

vanvliet: Young-Van Vliet recursive Gaussian filter.

warp: Warp image

watershed: Compute watershed transform.

Files in this package

imager
imager/TODO
imager/inst
imager/inst/extdata
imager/inst/extdata/parrots.png
imager/inst/extdata/HubbleDeepField.jpg
imager/inst/extdata/tennis_sif.mpeg
imager/inst/extdata/Leonardo_Birds.jpg
imager/inst/doc
imager/inst/doc/gettingstarted.Rmd
imager/inst/doc/gettingstarted.R
imager/inst/doc/gettingstarted.html
imager/inst/include
imager/inst/include/wrappers.h
imager/inst/include/CImg.h
imager/inst/include/imager.h
imager/configure.ac
imager/tests
imager/tests/testthat.R
imager/tests/testthat
imager/tests/testthat/test_cpp_api.R
imager/src
imager/src/morphology.cpp
imager/src/transformations.cpp
imager/src/coordinates.cpp
imager/src/wrappers_cimglist.h
imager/src/filtering.cpp
imager/src/drawing.cpp
imager/src/utils.cpp
imager/src/Makevars.in
imager/src/wrappers.cpp
imager/src/interpolation.cpp
imager/src/display.cpp
imager/src/colourspace.cpp
imager/src/Makevars.win
imager/src/RcppExports.cpp
imager/NAMESPACE
imager/NEWS
imager/NEWS.md
imager/data
imager/data/boats.RData
imager/R
imager/R/utils.R imager/R/stencils.R imager/R/drawing.R imager/R/interpolation.R imager/R/inline.R imager/R/interactive.R imager/R/RcppExports.R imager/R/splitcombine.R imager/R/imgen.R imager/R/coordinates.R imager/R/imglist.R imager/R/cimg_class.R imager/R/filtering.R imager/R/datasets.R imager/R/conversions.R
imager/vignettes
imager/vignettes/gettingstarted.Rmd
imager/README.md
imager/MD5
imager/build
imager/build/vignette.rds
imager/DESCRIPTION
imager/configure
imager/man
imager/man/boats.Rd imager/man/imdraw.Rd imager/man/isoblur.Rd imager/man/save.image.Rd imager/man/imlist.Rd imager/man/map_il.Rd imager/man/as.data.frame.cimg.Rd imager/man/add.colour.Rd imager/man/periodic.part.Rd imager/man/imdirac.Rd imager/man/patchstat.Rd imager/man/permute_axes.Rd imager/man/imnoise.Rd imager/man/imager.subset.Rd imager/man/threshold.Rd imager/man/resize_uniform.Rd imager/man/channels.Rd imager/man/patch_summary_cimg.Rd imager/man/blur_anisotropic.Rd imager/man/index.coord.Rd imager/man/erode.Rd imager/man/bucketfill.Rd imager/man/imappend.Rd imager/man/plot.cimg.Rd imager/man/FFT.Rd imager/man/autocrop.Rd imager/man/displacement.Rd imager/man/cimg.use.openmp.Rd imager/man/cimg.extract.Rd imager/man/medianblur.Rd imager/man/center.stencil.Rd imager/man/grab.Rd imager/man/imfill.Rd imager/man/squeeze.Rd imager/man/display.cimg.Rd imager/man/cimg2im.Rd imager/man/vanvliet.Rd imager/man/pad.Rd imager/man/is.cimg.Rd imager/man/iminfo.Rd imager/man/imgradient.Rd imager/man/display.list.Rd imager/man/correlate.Rd imager/man/cimg.Rd imager/man/coord.index.Rd imager/man/imeval.Rd imager/man/mirror.Rd imager/man/at.Rd imager/man/imrotate.Rd imager/man/imhessian.Rd imager/man/grayscale.Rd imager/man/watershed.Rd imager/man/display.Rd imager/man/imager.Rd imager/man/liply.Rd imager/man/as.cimg.array.Rd imager/man/as.data.frame.imlist.Rd imager/man/get_gradient.Rd imager/man/frames.Rd imager/man/capture.plot.Rd imager/man/convolve.Rd imager/man/iiply.Rd imager/man/get_hessian.Rd imager/man/get.stencil.Rd imager/man/extract_patches.Rd imager/man/get.locations.Rd imager/man/load.example.Rd imager/man/play.Rd imager/man/selectSimilar.Rd imager/man/imager.combine.Rd imager/man/label.Rd imager/man/diffusion_tensors.Rd imager/man/grapes-inr-grapes.Rd imager/man/as.raster.cimg.Rd imager/man/imsub.Rd imager/man/haar.Rd imager/man/imcoord.Rd imager/man/renorm.Rd imager/man/boxblur.Rd imager/man/boxblur_xy.Rd imager/man/cimg.dimensions.Rd imager/man/crop.borders.Rd imager/man/imshift.Rd imager/man/idply.Rd imager/man/as.cimg.Rd imager/man/resize.Rd imager/man/plot.imlist.Rd imager/man/rotate_xy.Rd imager/man/as.cimg.data.frame.Rd imager/man/pixel.grid.Rd imager/man/stencil.cross.Rd imager/man/ilply.Rd imager/man/im_split.Rd imager/man/imwarp.Rd imager/man/imsplit.Rd imager/man/as.list.imlist.Rd imager/man/warp.Rd imager/man/as.cimg.function.Rd imager/man/imager.colourspaces.Rd imager/man/interp.Rd imager/man/im2cimg.Rd imager/man/imsharpen.Rd imager/man/deriche.Rd imager/man/imager.replace.Rd imager/man/load.image.Rd imager/man/distance_transform.Rd
imager/cleanup

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.