Image Processing Library Based on 'CImg'


[Up] [Top]

Documentation for package ‘imager’ version 0.31

Help Pages

A B C D E F G H I L M N P R S T V W X Y Z misc

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

-- A --

add Combining images
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.double Convert to cimg object
as.cimg.function Create an image by sampling a function
as.cimg.logical Convert to cimg object
as.cimg.matrix Convert to cimg object
as.cimg.numeric Convert to cimg object
as.cimg.vector Convert to cimg object
as.data.frame.cimg Convert a pixel image to a data.frame
as.data.frame.imlist Convert image list to data.frame
as.imlist.list Image list
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
at<- Return or set pixel value at coordinates
autocrop Autocrop image region
average Combining images

-- B --

B Various shortcuts for extracting colour channels, frames, etc
B<- Replace part of an image with another
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

-- C --

capture.plot Capture the current R plot device as a cimg image
Cc Coordinates as images
center.stencil Center stencil at a location
channel Various shortcuts for extracting colour channels, frames, etc
channel<- Replace part of an image with another
channels Split a colour image into a list of separate channels
cimg Create a cimg object
cimg.dimensions Image dimensions
cimg.extract Various shortcuts for extracting colour channels, frames, etc
cimg.use.openmp Control CImg's parallelisation
cimg2im Convert cimg to spatstat im object
color.at Return or set pixel value at coordinates
color.at<- Return or set pixel value at coordinates
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

-- D --

depth Image dimensions
deriche Apply recursive Deriche filter.
diffusion_tensors Compute field of diffusion tensors for edge-preserving smoothing.
dilate Erode/dilate image by a structuring element.
dilate_rect Erode/dilate image by a structuring element.
dilate_square Erode/dilate image by a structuring element.
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.

-- E --

enorm Combining images
erode Erode/dilate image by a structuring element.
erode_rect Erode/dilate image by a structuring element.
erode_square Erode/dilate image by a structuring element.
extract_patches Extract image patches and return a list
extract_patches3D Extract image patches and return a list

-- F --

FFT Compute the Discrete Fourier Transform of an image
frame Various shortcuts for extracting colour channels, frames, etc
frame<- Replace part of an image with another
frames Split a video into separate frames

-- G --

G Various shortcuts for extracting colour channels, frames, etc
G<- Replace part of an image with another
get.locations Return coordinates of subset of pixels
get.stencil Return pixel values in a neighbourhood defined by a stencil
get_gradient Compute image gradient.
get_hessian Return image hessian.
grab Select image regions interactively
grabLine Select image regions interactively
grabPoint Select image regions interactively
grabRect Select image regions interactively
grayscale Convert an RGB image to grayscale

-- H --

haar Compute Haar multiscale wavelet transform.
height Image dimensions
HSItoRGB Colour space conversions in imager
HSLtoRGB Colour space conversions in imager
HSVtoRGB Colour space conversions in imager

-- I --

idply Split an image along axis, apply function, return a data.frame
iiply Split an image, apply function, recombine the results as an image
ilply Split an image along axis, apply function, return a list
im2cimg Convert an image in spatstat format to an image in cimg format
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
imcol Various shortcuts for extracting colour channels, frames, etc
imcoord Coordinates as images
imdirac Generates a "dirac" image, i.e. with all values set to 0 except one.
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
imresize Resize image uniformly
imrotate Rotate image by an arbitrary angle.
imrow Various shortcuts for extracting colour channels, frames, etc
imsharpen Sharpen image.
imshift Shift image content.
imsplit Split an image along a certain axis (producing a list)
imsub Select part of an image
imwarp Image warping
im_split Split an image along a certain axis (producing a list)
index.coord Linear index in internal vector from pixel coordinates
interp Interpolate image values
is.cimg Checks that an object is a cimg object
is.imlist Image list
isoblur Blur image isotropically.

-- L --

label Label connected components.
liply Apply function to each element of a list, then combine the result as an image by appending along specified axis
load.example Load example image
load.image Load image from file or URL

-- M --

map_il Type-stable map for use with the purrr package
mclosing Erode/dilate image by a structuring element.
mclosing_square Erode/dilate image by a structuring element.
medianblur 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.
mirror Mirror image content along specified axis
mopening Erode/dilate image by a structuring element.
mopening_square Erode/dilate image by a structuring element.
mult Combining images

-- N --

nPix Image dimensions

-- P --

pad Pad image with n pixels along specified axis
parmax Combining images
parmax.abs Combining images
parmin Combining images
parmin.abs Combining images
patchstat Return image patch summary
patch_summary_cimg Extract a numerical summary from image patches, using CImg's mini-language Experimental feature.
periodic.part Compute the periodic part of an image, using the periodic/smooth decomposition of Moisan (2009)
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

-- R --

R Various shortcuts for extracting colour channels, frames, etc
R<- Replace part of an image with another
renorm Renormalise image
resize Resize image to new dimensions. If pd[x,y,z,v]<0, it corresponds to a percentage of the original size (the default value is -100).
resize_doubleXY Resize image uniformly
resize_halfXY Resize image uniformly
resize_tripleXY Resize image uniformly
resize_uniform Resize image uniformly
RGBtoHSI Colour space conversions in imager
RGBtoHSL Colour space conversions in imager
RGBtoHSV Colour space conversions in imager
RGBtosRGB Colour space conversions in imager
RGBtoYCbCr Colour space conversions in imager
RGBtoYUV Colour space conversions in imager
rotate_xy Rotate image by an arbitrary angle, around a center point.

-- S --

save.image Save image
selectSimilar Select a region of homogeneous colour
spectrum Image dimensions
squeeze Remove empty dimensions from an array
sRGBtoRGB Colour space conversions in imager
stencil.cross A cross-shaped stencil
subim Select part of an image

-- T --

threshold Threshold grayscale image

-- V --

vanvliet Young-Van Vliet recursive Gaussian filter.

-- W --

warp Warp image
watershed Compute watershed transform.
which.parmax Combining images
which.parmin Combining images
width Image dimensions

-- X --

Xc Coordinates as images

-- Y --

Yc Coordinates as images
YCbCrtoRGB Colour space conversions in imager
YUVtoRGB Colour space conversions in imager

-- Z --

Zc Coordinates as images

-- misc --

%inr% Check that value is in a range