powered by
restore hue of color image
RestoreHue(im, hueim)
a grayscale image of class cimg
a color image of class cimg
# NOT RUN { g <- Grayscale(boats) hue <- GetHue(boats) layout(matrix(1:2, 1, 2)) plot(g, main = "Original") RestoreHue(g, hue) %>% plot(main="Resotred") # }
Run the code above in your browser using DataLab