In case of RGB to grayscale conversion we take the average of R,G,B channels and convert them to Grayscale which has songle channel. How to convert back the Grayscale to RGB ??
1 Answer
It is not possible to get color back. A grayscale image can be converted to RGB image, by copying the grayscale data to all three RGB channels,but it will still be grayscale.
Note that in general, RGB is not simply averaged to grayscale, but a weighted average is used to match eye sensitivity.
-
$\begingroup$ If we copy the grayscale data into RGB channels. Then it would be a colour image ?? $\endgroup$ Feb 28, 2020 at 19:28
-
2$\begingroup$ Yes, it would technically be a RGB color image, but with grayscale contents. $\endgroup$– JustmeFeb 28, 2020 at 19:34