powered by
split returns a list of grayscale images corresponding to each of the channels (blue, green, red, or alpha) of an image.
split
split(x)
An Image object.
Image
A list of single channel (grayscale) Image objects.
merge, Image
merge
# NOT RUN { balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision")) balloon_chan <- split(balloon) # }
Run the code above in your browser using DataLab