Hi everyone

How can i convert gray to rgb.I see the solution in board but I don't understand.I use opencv for image processing.Is opencv have function for solve this problem?