Click here to Skip to main content
15,908,673 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hai..

I want to create the web application, that changes the colors of hair, eyeball & pupil from user uploaded image
Posted
Comments
Richard MacCutchan 16-Aug-12 4:43am    
Fine, please explain which part of this problem you need help with.
Sergey Alexandrovich Kryukov 16-Aug-12 5:17am    
Explanations would be useless -- there is a very little chance to get acceptable result.
Please see my answer where I try to explain why.
--SA
Joan M 16-Aug-12 4:59am    
42.
Sergey Alexandrovich Kryukov 16-Aug-12 5:06am    
Exactly! My 5. :-)
--SA
Joan M 16-Aug-12 5:08am    
:rolleyes:

1 solution

This is way too difficult. (Well, many applications do that, but… I've done some photo retouching and now I can recognize that machine re-coloring in no time; this is almost all trash.)

A real master can make a convincing result, and with a big part of manual work; and good results are very rare.

In some of my past answers I used to explain why no formal algorithm works well enough, but this is pretty boring. For a perfect result, you would need to work with real 3D model, which you don't have because a photo does not provide enough information. Otherwise you cannot take into account multiple reflexes of one surface to another. Every single hair, for example, carries its reflex from the surrounding objects. To re-color this object, you will need to identify all reflexes and re-touch them individually on every hair. Amazingly, if you try to simplify it somehow, a human eye can easily see the faked image, especially the training eye.

I would pick some more realistic problem. Of course, you might want to decide to go in for trash level of quality, but for that you don't really need advice. Anyway, not mine :-).

—SA
 
Share this answer
 
v5
Comments
Joan M 16-Aug-12 5:19am    
Yep, the only answer that this question can have that gives some sense to it... 5ed.
Sergey Alexandrovich Kryukov 16-Aug-12 5:26am    
Thank you, Joan.
--SA

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