Clear Filters
Clear Filters

how to get a uniform illumination?

4 views (last 30 days)
amir
amir on 16 Feb 2016
Commented: Image Analyst on 24 Feb 2016
hello, i am trying to do a face detection based on skin colour and i was trying to make a uniform illumination for the images acquired through the webcam. How can I do this with help of HSV adjustments?

Accepted Answer

Image Analyst
Image Analyst on 16 Feb 2016
Illumination cannot be changed by software. You need things like lamps and diffusers. Simply converting to HSV or LAB color space and making the V or L channel (respectively) a uniform value does not have the same effect. Below is an image where I made the left half have the same Y value (like L or V). You can see the effect. If you would have had a non-uniform illumination, it would not flatten the image. You'd need to do background division for that.
  6 Comments
amir
amir on 24 Feb 2016
Edited: amir on 24 Feb 2016
I have tried with color thresholder but the image is so noisy in the face area. Since I am going to do this method for real time processing, the result would not be stable since i have tried it with different photos. There is anyway I can overcome this problem?
Image Analyst
Image Analyst on 24 Feb 2016
Try to do some noise reduction. For example average video frame together, or use some denoising algorithm.

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!