Merges images to create image sequences.
abind to merge multi-dimensional
arrays along the dimension depending on the
color mode of
x is a
Grayscale image or an array,
image objects are combined along the third dimension, whereas when
x is a
Color image they are combined along the fourth dimension, leaving room on the third dimension for color
Image object or an array.
Gregoire Pau, Andrzej Oles, 2013
abind provides a more flexible interface which allows to specify the dimension along which to combine the images.
1 2 3 4 5 6 7 8 9 10 11
## combination of color images img = readImage(system.file("images", "sample-color.png", package="EBImage"))[257:768,,] x = combine(img, flip(img), flop(img)) display(x, all=TRUE) ## Blurred images x = resize(img, 128, 128) xt = list() for (t in seq(0.1, 5, len=9)) xt=c(xt, list(gblur(x, s=t))) xt = combine(xt) display(xt, title='Blurred images', all=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.