col2col {recolorize} | R Documentation |
Just like grDevices::convertColor, but with HSV as an option.
col2col(pixel_matrix, from = "sRGB", to = "sRGB", 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.