High Dynamic Range (HDR) in Machine Vision Cameras
In industrial image processing, the quality of the captured image often determines the success of the entire process. It becomes particularly challenging when an image contains very bright and very dark areas,such as with shiny metal parts or strong backlighting. This is exactly where High Dynamic Range (HDR) comes into play: HDR-capable industrial cameras ensure that important details remain visible even in difficult lighting conditions.
Last updated: 12/01/2026
Reading time: approx. 7 Minutes
The Basics of HDR
HDR enables machine vision cameras to capture a particularly wide dynamic range within a single image.
Details remain visible in very bright and very dark areas of the image,even in backlit conditions, with reflections, and under changing lighting conditions.
Depending on the technology, HDR images are created by combining multiple exposures with different exposure times, by merging adjacent pixels (binning fusion), by reading out an image with two gain levels (dual gain), or through sensors that inherently offer a high dynamic range.
This technology is particularly well-suited for applications where optimal lighting conditions cannot be reliably achieved.
Typical applications include surface inspection, license plate recognition , and barcodes and text recognition.
What is High Dynamic Range?
HDRrefers to images in which large differences in brightness are visible and details in both bright and dark areas are preserved. Dynamic range is specified in bits or decibels (dB). The higher the value, the more gray levels the camera can distinguish. There is no standard definition of the dynamic range threshold at which an image is considered HDR. In industrial image processing, cameras are generally considered HDR-capable starting at around 80 dB.
How Does HDR Work in Machine Vision Cameras?
There are various technical approaches to implementing HDR in industrial cameras. They differ primarily in dynamic range, motion robustness, and resolution.
A comparison of HDR techniques
Method | Dynamic range gain | Motion robustness | Resolution |
Multiple exposure | High | Low | Full |
|---|---|---|---|
In-sensor multiple exposure | High | Medium | Full |
Binning fusion | Low | High | Reduced |
Dual gain | Low | High | Full |
HDR initially generates images with a higher bit depth. If the available bandwidth, memory requirements, or the downstream image processing software requires a lower bit depth, tone mapping is used.
Advantages and challenges of HDR in industrial cameras
Advantages
More image information at high contrast: Reduces loss of detail in very bright/dark areas.
More robust analysis: Greater reliability for traditional image processing as well as AI and deep learning models.
Challenges
Increased processing requirements: If HDR data is processed without tone mapping, the data volume, required bandwidth, and computing power all increase.
Motion artifacts in multiple exposures: Moving objects or camera movements can lead to ghosting.
Finding the right method: The appropriate HDR method depends on the scene, motion, and frame rate.
Applications of HDR in industrial image processing
Artificial lighting cannot always create ideal lighting conditions for all image processing applications. In addition, reflections on the captured objects can lead to large differences in brightness in the captured image. In these cases, HDR can significantly improve image quality.
Conclusion: When is HDR worthwhile in image processing?
HDR is worthwhile if your application involves high contrast or challenging lighting conditions. However, first check whether HDR is truly necessary or if a sensor with a higher dynamic range or adjusted lighting is already sufficient.
If HDR is used, the effort required depends on the method: Multiple exposures require more computing power and bandwidth; binning fusion results in a loss of resolution; dual gain is fast but provides less dynamic range gain.
Frequently asked questions (FAQ) about HDR in industrial aameras
There is no single, universally accepted definition. In industrial image processing, cameras with a dynamic range of at least about 80 dB are usually referred to as HDR-capable. Typical standard sensors have a dynamic range of around 60 to 70 dB. The dynamic range is measured according to the EMVA 1288 standard. For a fair comparison, the HDR method used to achieve the value should also be specified.
HDR captures details in both very bright and very dark areas of an image simultaneously, such as in reflections or backlit scenes. This makes the image processing more reliable. If the camera already supports HDR natively, it also reduces the effort required in your application. For example, the Sony IMX900 sensor enables multiple exposures within a single frame, and the Basler ace 2 directly produces a finished image from them.
In different ways depending on the technology:
through multiple exposures,that is, several images taken with different exposure times, either sequentially or within a single frame
through binning fusion, in which adjacent pixels are combined
by reading out an image with two gains (dual gain)
through a special pixel architecture, e.g., two areas within a single pixel with different sensitivities.
The methods differ in dynamic range, motion robustness, and resolution (see also the table “Comparison of HDR Methods”).
Yes, but that depends on the method. Traditional multiple exposures, where images are taken one after another, can produce ghosting when there is motion. For moving scenes, sensors that use multiple exposures within a single frame, binning fusion, or dual gain are more suitable. With the latter two, however, the dynamic range gain is lower, or the resolution is reduced.
That depends on the method and the camera. With some cameras , the HDR image—including tone mapping—is generated directly in the camera, and your application receives a finished image. With other methods, such as classic multiple exposure, the individual images are combined on the host PC. To do this, you must include the appropriate processing steps in your software. More on this: HDR Imaging and Tone Mapping
HDR is suitable for any situation where there are large differences in brightness within an image and optimal lighting cannot be reliably achieved. HDR makes details in very bright and very dark areas of the image visible. Typical examples include scratches and cracks on metallic or reflective surfaces, outdoor license plate recognition, and reading barcodes in logistics.
Not always. Often, adjusted lighting, the correct exposure setting, or a sensor with a higher native dynamic range is sufficient. This is usually easier and more cost-effective. HDR is worthwhile when the differences in brightness within the scene exceed the sensor’s dynamic range. Our vision experts can help you assess this!
Tone mapping compresses the wide brightness range of an HDR image into a narrower range of values, e.g., from 16 or more bits to 8 or 12 bits. This process preserves details in both bright and dark areas, allowing the image to be further processed using standard image-processing algorithms, interfaces, and monitors. Without tone mapping, data volume and required bandwidth increase. Tone mapping is not an HDR process in itself, but rather the step that follows. The Basler ace 2 with an IMX900 sensor delivers HDR images, including tone mapping, as standard directly through the camera. For the ace 2 with an IMX676 sensor, this feature is available as a custom adaptation.









