RestoreHue {imagerExtra} | R Documentation |
restore hue of color image
Description
restore hue of color image
Usage
RestoreHue(im, hueim)
Arguments
im |
a grayscale image of class cimg |
hueim |
a color image of class cimg |
Value
a color image of class cimg
Author(s)
Shota Ochi
Examples
g <- Grayscale(boats)
hue <- GetHue(boats)
layout(matrix(1:2, 1, 2))
plot(g, main = "Original")
RestoreHue(g, hue) %>% plot(main="Resotred")
[Package imagerExtra version 1.3.2 Index]