image_channel_combine | R Documentation |
Split image by channel, creating a stack of images or combine a stack of grayscale images into a full color image
image_channel_combine(image, channel_index = "RGB", canvas = NULL) image_channel_separate(image)
image |
image stack (for 'image_channel_combine()') or individual image (for 'image_channel_separate()') |
channel_index |
character vector with channel names (or abbreviation). Default: 'RGB'. Images in the stack will be interpreted as set of channels in the specified sequence. |
canvas |
image to be used as canvas to start copying channels into, Default: NULL |
single (flat) image with channels copied from the image stack
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.