Skin Detection Opencv-Temperature Parameter

1.5k views Asked by At

I was working on the skin detection in OpenCV.I am using YCrCb color range for detection.It was working fine for most of the image but in one case it was not working. Image Not Working

So I tried to do some adjustment in the images because you can see that skin color range is not even visible,so I edited the pic in Windows Photos Application in Window 8.In that software I changed "color->Temperature" setting and set the value to 80 or something. The output image was this.

Now the Skin detection works perfectly fine.Can anyone explain me the temperature parameter used in Photos app and what it exactly does?

1

There are 1 answers

3
Royi On BEST ANSWER

The color temperature is part of the White Balance of an image.
Basically, at different lighting conditions the same white color looks different.
This process "White Balance" should compensate for that.

Have a look here:

https://en.wikipedia.org/wiki/Color_balance

http://www.cambridgeincolour.com/tutorials/white-balance.htm