Return or set pixel value at coordinates
Capture the current R plot device as a cimg image
Compute the bounding box of a pixset
Create a cimg object
Crop the outer margins of an image
Blur image anisotropically, in an edge-preserving way.
Apply recursive Deriche filter.
Image dimensions
Convert a raster object to a cimg object
Center stencil at a location
Split a video into separate frames
Form an adjacency graph from a pixset
Blur image with a box filter (square window)
Clean up and fill in pixel sets (morphological opening and closing)
Convert various objects to image lists
Blur image with a box filter.
Convert an RGB image to grayscale
Colour space conversions in imager
Check that value is in a range
Return coordinates of subset of pixels
Combining images
Methods to convert various objects to pixsets
Convert image list to data.frame
Photograph of sailing boats from Kodak set
Find the boundary of a shape in a pixel set
Compute image hessian.
Convert cimg to spatstat im object
Grow/shrink a pixel set
Draw circle on image
Draw rectangle on image
Fill in a colour in an area given by a pixset
Add circles to plot
Convert a cimg object to a raster object for plotting
Split a colour image into a list of separate channels
Concatenation for image lists
Bucket fill
Autocrop image region
Various useful pixsets
Estimate displacement field between two images.
Compute field of diffusion tensors for edge-preserving smoothing.
Compute Haar multiscale wavelet transform.
Return contours of image/pixset
Plot objects on image using base graphics
Return information on image file
Generate (Gaussian) white-noise image
Highlight pixel set on image
Replace part of an image with another
Coordinates from pixel index
Form a graph from an image
Methods to convert pixsets to various objects
Display object using CImg library
Correlation/convolution of image by filter
Draw text on an image
Display image using CImg library
Erode/dilate image by a structuring element.
Various shortcuts for extracting colour channels, frames, etc
Canny edge detector
Label connected components.
Blur image isotropically.
Apply function to each element of a list, then combine the result as an image by appending along specified axis
Circle detection using Hough transform
Hough transform for lines
Array subset operator for cimg objects
Convert an image in spatstat format to an image in cimg format
Combine a list of images into a single image
Split an image along axis, apply function, return a list
Modify parts of an image
Select image regions interactively
Flatten alpha channel
Select part of an image
Evaluation in an image context
Split an image along a certain axis (producing a list)
Return image hessian.
Extract image patches and return a list
Interpolate image values
Draw image on another image
Grayscale dimensions of image
Control CImg's parallelisation
Compute Euclidean distance function to a specified value.
Display image list using CImg library
Return pixel values in a neighbourhood defined by a stencil
Split an image along axis, map function, return a data.frame
Sharpen image.
Create an image of custom size by filling in repeated values
Compute image gradient.
Compute image gradient
Split an image, apply function, recombine the results as an image
Linear index in internal vector from pixel coordinates
Image warping
Load example image
Shift image content.
Check that an object is an imlist object
Make/save a video using ffmpeg
Checks that an object is a cimg object
Type-stable map for use with the purrr package
Return the pixel grid for an image
Load image from file or URL
imager: an R library for image processing, based on CImg
Split an image along a certain axis (producing a list)
Coordinates as images
Extract a numerical summary from image patches, using CImg's mini-language
Experimental feature.
Pad image with n pixels along specified axis
Load all images in a directory
Return image patch summary
Replicate images
Rotate an image along the XY plane.
Pixel sets (pixsets)
Select a region of homogeneous colour
Plot an image list
Compute the periodic part of an image, using the periodic/smooth decomposition of Moisan (2011)
Remove empty dimensions from an array
Split pixset into connected components
Generates a "dirac" image, i.e. with all values set to 0 except one.
Young-Van Vliet recursive Gaussian filter.
Warp image
Convert a magick image to a cimg image or image list and vice versa
Load a video using ffmpeg
Check that an object is a pixset object
Compute image Laplacian
Permute image axes
Image list
Renormalise image
Pipe operator
Resize image
Rotate image by an arbitrary angle, around a center point.
Save image
Build simple interactive interfaces using imager
Fill-in NA values in an image
A pixset for NA values
Mutate a data frame by adding new or replacing existing columns.
Play a video
Display an image using base graphics
Plot a line, Hesse normal form parameterisation
Remove all connected regions that touch image boundaries
Blur image with the median filter.
In a window of size n x n centered at pixel (x,y), compute median pixel value over the window. Optionally, ignore values that are too far from the value at current pixel.
Return locations in pixel set
Compute watershed transform.
Mirror image content along specified axis
Resize image uniformly
A cross-shaped stencil
Remove alpha channel and store as attribute
Threshold grayscale image
Compute the Discrete Fourier Transform of an image
Turn an numeric array into a cimg object
Create an image from a data.frame
Convert a RasterLayer/RasterBrick to a cimg image/image list
Create an image by sampling a function
Convert a pixel image to a data.frame
Add colour channels to a grayscale image or pixel set
Convert to cimg object