Ask Your Question
2

How to perform skin tone matching

asked 2013-06-20 02:49:58 -0600

images gravatar image

updated 2015-11-11 07:35:45 -0600

http://oi44.tinypic.com/2s7771l.jpg ( face )

http://oi40.tinypic.com/15wewpw.jpg ( body )

Hi, i am new to image processing and openCV C/C++. I am wondering that is it possible to extract skin tone from the first image (face). And then applied to the second image (body).

In other words, user upload his face image and the program extract the skin tone from that image and apply it to the body.

Thanks,

Aisha

edit retag flag offensive close merge delete

Comments

need help :(

images gravatar imageimages ( 2013-06-26 01:00:16 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-06-20 03:19:18 -0600

AMP gravatar image

First you should detect face.you can use OpenCV Face detection.

then you can compute histogram of detected face.the most frequent color is face's color and you can use it to change color of body.

edit flag offensive delete link more

Comments

i have already detected the face.... i am facing problem with the histogram matching

images gravatar imageimages ( 2013-06-20 04:41:15 -0600 )edit

you don't need to match histograms,if you find the color that maximize histogram you can change color of the other image to match the color of face!

AMP gravatar imageAMP ( 2013-06-20 05:42:28 -0600 )edit

i got the histogram of the face image...now is it possible that program set the histogram of the body image with respect to the histogram of the face image ?

images gravatar imageimages ( 2013-06-21 00:15:22 -0600 )edit

Question Tools

Stats

Asked: 2013-06-20 02:49:58 -0600

Seen: 2,975 times

Last updated: Nov 11 '15