Image Processing Library Based on CImg


[Up] [Top]

Documentation for package ‘imager’ version 0.15

Help Pages

A B C D E F G H I L M N P R S T V W Y 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.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.raster.cimg Convert a cimg object to a raster object
at Return 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
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
cimg2im Convert cimg to spatstat im object
color.at Return pixel value at coordinates
convolve Convolve image by filter.
correlate Correlation of image by filter

-- 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 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 Return image patches
extract_patches3D Return image patches

-- 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.
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
imappend Combine a list of images into a single image
imcol Various shortcuts for extracting colour channels, frames, etc
imdirac Generates a "dirac" image, i.e. with all values set to 0 except one.
imdraw Draw image on another image
imfill Create an image of custom size by filling in repeated values
imgradient Compute image gradient
imhessian Compute image hessian.
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)
interp Interpolate image values
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.image Load image from file or URL

-- M --

mclosing Erode/dilate image by a structuring element.
mclosing_square Erode/dilate image by a structuring element.
medianblur Blur image with the median filter.
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
parmin Combining images
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
pixel.index Linear index in internal vector from pixel coordinates
play Play a video
plot.cimg Display an image using base graphics

-- 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.
width Image dimensions

-- Y --

YCbCrtoRGB Colour space conversions in imager
YUVtoRGB Colour space conversions in imager

-- misc --

[.cimg Array subset operator for cimg objects