Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to colorize a picture with grayscale. What is the algorithym to do this?
Posted
Comments
Afzaal Ahmad Zeeshan 3-Sep-15 7:17am    
You can burn a paper to convert it to ash, there is no procedure to convert the ash back to the same paper? Even if you could, there is no guarantee it will be even 80% of the same paper again!

In this case, you need to save the actual picture, to present it to user! Or guess it as I said, 80% colors can be added.
Sergey Alexandrovich Kryukov 3-Sep-15 9:29am    
Good point. Some people need to learn how entropy works.
—SA

1 solution

A lot of clever people have dedicated years of research into this problem so I'm not sure what kind of answers you're expecting. But here's a start;

https://classes.soe.ucsc.edu/cmps290b/Fall05/readings/colorize-sig02.pdf[^]

If you google your problem you'll find various techniques to apply colour estimations to greyscale images that might be a starting point.

Image Transformation: Grayscale to Color[^]

Just bear in mind it took me about 3 minutes to find these resources using google, so when you hand in your final project it'll take your tutor about the same.
 
Share this answer
 
Comments
Amt-Coder 3-Sep-15 7:50am    
Okay, I will take a look. Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900