Split an image into its individual channels
Value
A named list of single-channel Image objects. Names are
derived from the colorspace (e.g. c("B", "G", "R") for BGR).
Unknown colorspaces use "ch1", "ch2", etc.
Examples
# \donttest{
img <- Image$new(system.file("img", "flower.jpg", package = "Retina"))
channels <- split_channels(img)
channels$B$plot()
# }