Camera Exposure and Computer Vision

What is Camera Exposure?

Exposure is the amount of light accumulated at the image plane during a single capture, set by the lens aperture, the exposure time, and the scene's luminance.

Exposure is quantified by the Exposure Value (EV). In the APEX system, EV = log2(N²/t), where N is the F-number and t is the exposure time in seconds. Sensitivity is not part of EV: ISO enters the exposure equation separately, as the speed value Sv. A series of gray patches is a common way to assess how that exposure rendered in a captured image. Exposure is not the "brightest bright" relative to the "darkest dark" of an image: that's dynamic range.

What is Exposure?

Correct exposure is important to all computer vision tasks as any over-exposure or under-exposure results in degradation of contrast and in extreme cases, a complete loss of information. Here is a picture of a simulated vehicle under various exposure values.

Even to the human observer, it is difficult to see details in over or under-exposed images.

What is Camera Exposure Value
Different Camera Exposures

Blasinski & Farrell, "Optimizing Image Acquisition Systems for Autonomous Driving"

Gain and ISO

Machine vision cameras usually have no ISO setting at all. They expose gain: analog gain applied to the pixel signal before the ADC, and digital gain applied to the digitized value afterward. Both scale the signal and the noise riding on it together, so gain brightens an image without adding information to it. Digital gain is the weaker of the two, since it multiplies numbers that have already been quantized.

ISO is the photographic calibration of that same amplifier chain, and it is what the APEX equation carries as Sv. Set the exposure time and the aperture first, add light to the scene if you can, and raise gain last, once a shorter integration time is the only way left to stop motion.

Exposure Has a Major Impact on Computer Vision and Machine Vision

Blasinski et al. demonstrated how the mean average precision of detection networks SSD-MobileNet and ResNet drops significantly with incorrect exposure. Even after training the networks using multiple exposure values, the mean average precision dropped by 25 percentage points when over-exposed by four stops (four EV).

Computer Vision Degradation due to Exposure
Exposure and Machine Vision
References and Related Links Blasinski & Farrell, "Optimizing Image Acquisition Systems for Autonomous Driving"

Trying to Determine Your Camera Requirements?

Use our free web-based AoV Calculator to determine your system's Field of View Requirements. Then, use the M12 Lens calculator to match your requirements with the available lenses. Our Depth of Field Calculator also provides the hyperfocal distance and depth of field for every sensor and lens combination.

We also have a couple of other calculators that many engineers find interesting.

Here are a Few M12 Lenses. Search all 50+ Using Our M12 Lens Calculator.

High resolution M12 Fisheye lens

CIL281-F1.8-M12A650

191°@6.4mm Fisheye Lens

$70.00

View details
DSL210 DSL224 2mm S-Mount Lens IMX335 Framos

CIL282-F1.8-M12B660

190°@6.8mm Fisheye M12 Lens

$49.00

View details
Basler Dart Camera IP67 M12 Lens

CIL034-F2.3-M12A660

Low Distortion 3.25mm M12 Lens

$39.00

View details
Wide-Angle 4mm M12 Lens

CIL339-F1.6-M12B640

Wide-Angle 4mm M12 Lens

$99.00

View details
6mm M12 Lenses S Mount Lens

CIL059-F1.7-M12B650

Low Distortion 6mm M12 Lens

$49.00

View details

We Also Have Cost-Effective 12MP+ C-Mount Lenses for Machine Vision and Factory Automation.

8mm C Mount Lens Kowa Computar 2/3"

CIL531-F2.8-CMANIR

8mm C-Mount Lens 2/3" 12MP

$149.00

View details
12mm C Mount Lens Kowa Lucid Vision

CIL532-F2.0-CMANIR

12mm C-Mount Lens 2/3" 12MP

$149.00

View details
16mm C-Mount Lens Kowa Computar Lucid Vision Edmund Optics

CIL533-F2.0-CMANIR

16mm C-Mount Lens 2/3" 12MP

$149.00

View details
25mm C Mount Lens Amazon

CIL534-F2.0-CMANIR

25mm C-Mount Lens 2/3" 12MP

$149.00

View details
35mm C-Mount lens Computar

CIL535-F2.0-CMANIR

35mm C-Mount Lens 2/3" 12MP

$149.00

View details
Lucid Vision Basler C Mount Lens IMX566

CIL536-F2.8-CMANIR

50mm C-Mount Lens 2/3" 12MP

$149.00

View details