Merge a list of single-channel images into a multi-channel image
Source:R/channels.R
merge_channels.RdMerge a list of single-channel images into a multi-channel image
Value
A new Image. Colorspace is inferred from
names(channels); if unrecognised, colorspace is set to
"UNKNOWN" with a warning.
Examples
# \donttest{
img <- Image$new(system.file("img", "flower.jpg", package = "Retina"))
channels <- split_channels(img)
reconstructed <- merge_channels(channels)
reconstructed$plot()
# }