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