Backlight algorithm for webcam - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Backlight algorithm for webcam

karika200karika200 Posts: 2Member

I have a Logitech QuickCam Messenger Communicate webcam, and I want to use it outdoors at daylight. In the Linux kernel's driver there si no option like backlight. Then I decided I'll write a script for backlight compensation. Now, I crop the webcam's image into 16 or more squares. Then the script examines the color average of each squares and I decide if the part is too light or too dark or is ok. Then if I have more then 2 dark/light squares I set the image more darker/lighter... But this method is not enough for my problem.. So, I need some help for a nice backlight compensation algorithm. I need mainly algorithm description or some source code.

Thanks, karika200
Sign In or Register to comment.