Learn R Programming

imager (version 0.45.8)

ci: Concatenation for image lists

Description

Allows you to concatenate image lists together, or images with image lists. Doesn't quite work like R's "c" primitive: image lists are always *flat*, not nested, meaning each element of an image list is an image.

Usage

ci(...)

Value

an image list

Arguments

...

objects to concatenate

Author

Simon Barthelme

Examples

Run this code
cimg.limit.openmp()

l1 <- imlist(boats,grayscale(boats))
l2 <- imgradient(boats,"xy")
ci(l1,l2) #List + list
ci(l1,imfill(3,3)) #List + image
ci(imfill(3,3),l1,l2) #Three elements, etc.

Run the code above in your browser using DataLab