Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
okay so what i want to do is take a grayscale image and put it in an imagebox, then using a colordialog i want to make the image change colors depending on the color chosen by the user in the colordialog.. if that makes sense.. Thanks
Posted
Comments
Ralf Meier 21-Jul-15 3:40am    
What is your goal ?
You want to have a list of colors(gray-values) which are used inside the Image ?
After this you want to replace each by a kind of colorpicker by a new (chosen) color-value ?

1 solution

You know when a color image is converted into a grayscale one there is information loss, hence, generally speaking there is no exact way to restore the original colored one. However you may find 'colorazing' algorithms that could be useful for some specific purposes (that's up to you, of course).
 
Share this answer
 
Comments
Member 10596799 21-Jul-15 4:51am    
could you link me to one of these colorazing algorithms?
CPallini 21-Jul-15 4:53am    
Google is your friend:
https://www.google.co.uk/#q=image%20colorization%20algorithm

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