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