View source: R/edger_recolor.R
edger_recolor | R Documentation |
Recolor pixels contained in m. Optionally display recolored image.
edger_recolor(imdf, m, rgbcolor, show = TRUE)
imdf |
A color image as a data frame. |
m |
A vector containing unique identifiers of pixels to be recolored. |
rgbcolor |
A vector of the new values for each color channel. |
show |
A Boolean indicating if the new image should be shown. Default is TRUE. |
A new image with pixels in m recolored.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.