View source: R/colorClusters.R
col2col | R Documentation |
Just like grDevices::convertColor, but with HSV as an option.
col2col(
pixel_matrix,
from = c("sRGB", "Lab", "Luv", "HSV"),
to = c("sRGB", "Lab", "Luv", "HSV"),
ref_white = "D65"
)
pixel_matrix |
A matrix of pixel colors, rows are pixels and columns are channels. |
from |
Color space to convert from. |
to |
Color space to convert to. |
ref_white |
Reference white. |
As my mother used to say: good enough for government work.
A pixel matrix in the specified to
color space.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.