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.
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.
Frequently asked questions (FAQ) about HDR in industrial aameras
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.






