how to convert grayscale image to color image?

i,m doing project in color image enhancement using matlab tool. the final output should be in color image form.but the output in the form of grayscale image.so it should be convert into a color image.so please provide the coding or way to convert the gray image to color image.

Respuestas (1)

Thorsten
Thorsten el 20 de Feb. de 2013
Editada: Thorsten el 20 de Feb. de 2013

0 votos

You need some heuristics of how to infer two additional two channels. For example, you could match the brightness, e.g., the light gray is yellow, dark gray is blue, medium gray is red or green. There is no standard algorithm or code that does this.

Productos

Preguntada:

el 20 de Feb. de 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by