how to convert grayscale image to color image?

1 view (last 30 days)
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.

Answers (1)

Thorsten
Thorsten on 20 Feb 2013
Edited: Thorsten on 20 Feb 2013
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.

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!