How can I control the automatic gain of a webcam?

2 views (last 30 days)
I'm working with the Image Acquisition Toolbox and I'm facing a problem with the automatic gain of my camera. I need to keep a fixed gain (automatic gain disabled) and I would like to know if there is a possible solution to control it.
Also I would like to know if there are some cameras which are compatible with Matlab and have the capability to control the automatic gain.
Thank you very much in advance!

Accepted Answer

Image Analyst
Image Analyst on 3 Dec 2014
There should be a command to turn AGC (Automatic Gain Control) off, at least if it's a smart enough camera. If you don't see it in imaqtool then contact the manufacturer. Otherwise get a good machine vision camera. It's possible a cheap webcam doesn't have an "AGC off" setting.
  3 Comments
Image Analyst
Image Analyst on 3 Dec 2014
I use cameras from Lumenera, like the Lw575 or Lw11059c. They are supported by an adapter that works with the Image Acquisition Toolbox and imaqtool. You can control virtually everything you can possibly imagine in the camera.
Angel
Angel on 3 Dec 2014
Thank you again Image Analyst. I'm going to investigate into these cameras.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!