Learn R Programming

imager (version 0.42.19)

imappend: Combine a list of images into a single image

Description

All images will be concatenated along the x,y,z, or c axis.

Usage

imappend(imlist, axis)

Arguments

imlist

a list of images (all elements must be of class cimg)

axis

the axis along which to concatenate (for example 'c')

See Also

imsplit (the reverse operation)

Examples

Run this code
imappend(list(boats,boats),"x") %>% plot
imappend(list(boats,boats),"y") %>% plot
purrr::map(1:3, ~imnoise(100,100)) %>% imappend("c") %>% plot
boats.gs <- grayscale(boats)
purrr::map(seq(1,5,l=3),function(v) isoblur(boats.gs,v)) %>% imappend("c") %>% plot
#imappend also works on pixsets
imsplit(boats > .5,"c") %>% imappend("x") %>% plot

Run the code above in your browser using DataLab