I have 3 grayscale images that I created using the split function. Now I want to regenerate the color image back. I tried the following code but it did not work. The resultant image I got was still grayscale.I have 3 grayscale images that I created using