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.

Réponses (1)

Thorsten
Thorsten le 20 Fév 2013
Modifié(e) : Thorsten le 20 Fév 2013

0 votes

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.

Produits

Question posée :

le 20 Fév 2013

Community Treasure Hunt

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

Start Hunting!

Translated by