4
To convert a RGB image to grayscale is relatively easy, just do a linear( or average) combination of the 3 channels. For example :
Gray = 0.3*R +0.59*G +0.11*B
By the expression above you get a grayscale matrix.
My question is : how to get the matrices R, G and B from the Gray matrix to get a color image from one in grayscale ?
It does not. The transformation is one-way
– Jefferson Quesado
Basically opening in an image editing program and coloring "as per the taste"
– Bacco
To make it easier to understand the problem: 16 + 2 + 22 = 40, right? Starting from number 40, how could you know which three numbers were summed up? There is no way, because it has infinite combinations of three numbers that result in 40 when added up. The conversion to gray is almost the same thing (changes the formula a little, has a more defined numerical range, but that in nothing helps without an analysis of other factors)
– Bacco
Coloring once in a while is good for the mind. :)
– CypherPotato