HDR in machine vision – solving bright and dark imaging challenges

HDR image

High dynamic range (HDR) isn’t new. It’s frequently mentioned. And offered on-camera, or via software or FPGA. Is it just a marketing term, or a real benefit? If your application’s scenes contain both bright and dark regions, HDR can absolutely deliver benefits.

Consider the three images shown below:

Courtesy JAI

Neither the “slow shutter” image nor the “fast shutter” image is optimal. The former is over-saturated – one can’t even find the many windows in the central building. The fast shutter image is of course too dark, essentially losing the arch and the flagpole. While this scene is more from the realm of “photography” than “machine vision”, the concepts are the same.

Clearly the best image is the HDR image – the lighter areas are revealed in nuanced detail, but so too the unlit trees and gray windows are clear in their own degrees of black and gray, and everything in between. How is this achieved?

Contact us

What is HDR?

Let’s unpack the acronym, starting with DR for dynamic range. DR is the ratio between the largest and smallest measurable values, for the quantity being measured. For machine vision, it’s light intensity that’s being quantified.

Generally speaking, a larger dynamic range is preferrable to a small one, as the nuanced differences of a relatively larger dynamic range may be required for effective image processing. Take edge-detection, a common machine vision requirement for many applications. The edge may only become apparent, under given lighting conditions and resolution, when the saturation of pixels in a given region are consistently lower to one side and consistently higher to the other side of the “emergent” edge. With sufficient dynamic range, calculated confidence grows, while poor dynamic range may fail to reveal an edge at all.

Ways to create a composite HDR image

One way to create an HDR image is with two exposures and an algorithm for creating the composite. The shorter exposure captures the more brightly lit or highly reflective surfaces, while the remaining regions remain unsaturated or only slightly registering. A longer exposure oversaturates the lighter targets, but reveal nuanced variation in the previously unrevealed details.

In fact one does the longer exposure first, such that the darker portions of the scene produce a variance of non-zero values – i.e. a dynamic range across the darker regions.

Then for the shorter exposure, use the brightest non-saturated pixels from the first exposure as a reference to generate small non-zero values as a control on the short exposure, creating a calculated point of overlap. That way many pixels that were oversaturated on the long exposure are only slightly to moderated saturated on the short-exposure, for a nuanced spread of values across the corresponding pixels.

The blending algorithm compares the two images, pixel for pixel, with the overlap point as a reference. Saturated pixels in the first image are replaced with the corresponding non-saturated pixel values from the second image.

While the two-exposure approach described above is easy to understand, there’s clearly a time-cost in taking two successive exposures, reading them both out to the PC host, and doing the image processing. For certain applications, that may be acceptable. For others, especially with motion involved, or desired high cycle counts, one might hope for a faster approach.

Another way: multi-slope pixel generation on CMOS sensors

The rise of CMOS sensors and their transistor-based pixel architecture enables on-sensor functionality that convenient supports the generation of HDR images. This may be achieved by resetting pixels approaching saturation, prior to end of exposure, so those pixels have an opportunity to be filled from a range of values instead of maxing out had the reset not occurred.

Consider the follow two diagrams, and the supporting discussion below:

If many pixels fill before the end of the exposure, a lot of the image may be oversaturated, even though the darker regions need a longer exposure to become meaningfully non-zero. Courtesy JAI.

But thanks to CMOS transistors at each pixel position, the sensor can be programmed to monitor saturation values, and to reset pixels approaching saturation to “partial fill” levels that allow additional fill for the remainder of the exposure.

Courtesy JAI

It gets even better

Above was “intro level” HDR, concepts and techniques that provide the foundation. Meanwhile innovators keep taking it to the next level.

For example, Sony now offers Quad HDR on their IMX900 sensor, available in the IDS uEye low-cost cameras. Getting the dark sections sufficiently saturated while not oversaturating the brighter regions is really evident with Quad HDR below.

Quad HDR generates a balanced image – Courtesy IDS

In the video below, you may jump to position 1 minute 42 seconds for more on Quad HDR:


Even more on HDR:

If you’d like to read a more in-depth treatment on HDR, including more example images, supporting arithmetic and graphical rational, download our whitepaper on High Dynamic Range Imaging.

Or perhaps you have an application with known nuanced dark regions as well as variation in the saturated areas, for which HDR may add value. Should you do it on-camera/sensor? In an FPGA/frame-grabber? On the PC host? Use lighting techniques to avoid needing HDR altogether? There are a number of different ways to achieve optimal image outcomes, but HDR is certainly a valuable technique for some applications.

Call us at 978-474-0044, and let us guide you to a best-fit solution.

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera and components selection.  With a large portfolio of cameraslensescablesNIC cards and industrial computers, we can provide a full vision solution!

About you: We want to hear from you!  We’ve built our brand on our know-how and like to educate the marketplace on imaging technology topics…  What would you like to hear about?… Drop a line to info@1stvision.com with what topics you’d like to know more about.

#HDR

#Highdynamicrange

uEye LIVE cameras video stream/record WITHOUT a PC

Do you seek a single-device solution for process monitoring – a video streaming/recording industrial camera without needing an additional PC? IDS uEye Live SCP | SLE compact industrial cameras enable monitoring tasks to be executed directly on the camera without the need for an additional PC.

If you aren’t using these yet…

Did you miss our blog that introduced them in late 2024? Did we highlight key features well enough:

uEye Live key features

Use cases – what would one do with this?

If you need to visualize, document, or monitor processes, this camera is quick to integrate and requires no programming. No PC is needed, as it’s a system on a chip, embedded in the camera.

Just as vehicle dashcams and video doorbells capture sequences that are useful to have documented, it can be useful to capture industrial processing sequences that would otherwise have been missed.

Whether for quality control, process improvement, compliance requirements, or liability, videos of “where it went wrong” can be incredibly valuable. Using the event recording feature, one may have a lookback window of recorded streaming, in order to go back and replay the sequence, extract frames, etc.

Courtesy IDS Imaging

UEye SCP is the housed version:

uEye SCP
Courtesy IDS Imaging

It’s also available in space-saving board-level options (shown below), as well as a wash-down IP69K housed version (not shown here):

Courtesy IDS Imaging

Process monitoring

Here’s a video focused on process monitoring applications with IDS uEye Live cameras. It’s the logical follow on video to the introductory video above:

Going further yet – from streaming to AI: scalable process monitoring

It doesn’t have to stop with “simple” industrial dashcam applications – though there’s nothing wrong with stopping there if you are getting good value. This segment goes on to introduce the concept of scaling up your processing monitoring, even to adding AI to interpret and act upon multiple live streams.

This video introduces how IDS industrial monitoring cameras enable scalable, network‑ready process monitoring – from simple streaming to advanced AI‑based analysis. You’ll learn how compressed video streaming, remote access and built‑in intelligence support a wide range of industrial and inspection tasks.

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera and components selection.  With a large portfolio of cameraslensescablesNIC cards and industrial computers, we can provide a full vision solution!

About you: We want to hear from you!  We’ve built our brand on our know-how and like to educate the marketplace on imaging technology topics…  What would you like to hear about?… Drop a line to info@1stvision.com with what topics you’d like to know more about.

#IDS

#uEyeLIVE

#industrialdashcam

AxCIS update – new models and feature callouts

We’ve provided product overviews and updates on Teledyne DALSA’s AxCIS Contact Image Sensor in prior blogs, including a recent one on applications.

AxCIS modules
AxCIS modules – Courtesy Teledyne DALSA

New models and features

The AxCIS product family now includes color models in widths of 400mm, 600mm, and 800mm. Monochrome models are offered at 400mm and 800mm respectively. In imperial units that spans from 16 – 32 inches.

AxCIS provides selectable 28/42/56/84um pixel size and high speed 50/60/100/120kHzx3 via the Camera Link HS interface.

Lighting flexibility

While sensors and features are always big factors in machine vision, pros know that lighting is just as important. AxCIS’ designers provide users with considerable flexibility on lighting options.

AxCIS modules may be purchased either with or without lighting. The with-lighting option provides tremendous value and ease of deployment – when appropriate for your application.

Here’s a short video showing all that’s bundled into a CIS (including bundled lighting):

But lighting isn’t one size fits all

The bundled lighting referenced above would be ideal for bright-field illumination. But what if your application is best-served by dark-field lighting, or another approach? To review lighting, see our KB article on lighting techniques.

Since AxCIS modules may also be supplied without bright-field lighting, we offer coax and other lighting solutions suitable for dark field methods.

Lab testing available

If you are uncertain whether this could be your solution, or which components would be optimal, contact us to test your samples in the lab. You can send us parts and we’ll scan them, sending you the results and the optimal device recommendations and configurations. It’s a way to get proof of concept with a lot of the effort outsourced to us.

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera and components selection.  With a large portfolio of cameraslensescablesNIC cards and industrial computers, we can provide a full vision solution!

About you: We want to hear from you!  We’ve built our brand on our know-how and like to educate the marketplace on imaging technology topics…  What would you like to hear about?… Drop a line to info@1stvision.com with what topics you’d like to know more about.

#AxCIS

#CIS

#Contactimagesensor

IDS NION 3D Time of Flight camera | 1.2 MP Industrial ToF for Robotics and Automation

Next level time-of-flight – ToF. Nion combines spatial resolution of 1.2 MP (@30 fps) with reliable depth precision. Housed in a robust IP67 enclosure, Nion captures 3D for even fine structures – cost-efficiently.

Nion 3D ToF camera – Courtesy IDS Imaging

OnSemi AF0130 Hyperlux ID sensor

The AF0130 belongs to the Hyperlux ID family. It’s an Indirect Time of Flight (iToF) sensor, back side illuminated (BSI) CMOS global shutter depth and imaging solution. It calculates depth, confidence and intensity maps at high speeds from its laser modulated exposures.

Why is IDS Imaging introducing a ToF product

We’ve covered IDS evolving range of stereo vision 3D cameras previously, as recently as a few months ago, in Ensenso 3D for logistics applications.

But while powerful, stereo vision requires at least two cameras, and the corresponding electronics and software to synchronize the images and build the 3D model. So it can be overkill if you don’t need that level of performance.

With the Nion ToF product, IDS brings a more affordable 3D imaging solution to the market, which is more than good enough for many 3D applications .

The video below provides a nice overview. We tease out some of the key points in text and graphics further below, but you might like the dynamics of the video:

What’s inside that IP67 enclosure?

IP67 means dustproof and immersible in water to a depth of 1 meter for up to 30 minutes. That’s pretty robust. More than good enough for even the most challenging industrial environment, outdoor or wash down context.

Besides the tight enclosure, of course there’s a lens to focus the light source onto the sensor, electronics to support the GigE Vision interface, the sensor is the heart of the matter.

Exploded view of Nion camera – Courtesy IDS Imaging

Highest resolution industrial ToF camera

As this blog is released in April 2026, this is the highest resolution industrial ToF camera on the market.

In-sensor readout/storage reduces motion artefacts

To calculate a single depth value, four coordinated exposures with different phase positions (typically 0°, 90°, 180° and 270°) are usually necessary. These four signals are then used to calculate the phase shift – and thus the distance. Thanks to its special pixel architecture and integrated on-chip processing, the AF0130 iToF sensor captures all four phase images in quick succession and stores them directly and completely in the chip’s memory – without any intermediate readout.

This significantly shortens the time between exposures and noticeably reduces motion blur. Another advantage of continuous reading: The depth information can be efficiently re-sorted and directly processed further – without time-consuming post-processing. This not only makes the camera more robust against movement, but also enables higher frame rates and reduces the load on the host system. This is a decisive advantage, particularly in dynamic applications such as robotics, logistics or pick-and-place.

Hyperlux technology by onsemi reduces motion artefacts
Courttesy IDS Imaging

Key takeaways on motion artefact reduction are:

Boiling the above section down to key takeaways, we note:

  1. Multi-phase demodulation (four, to be specific)
  2. Reduced motion artefacts in dynamic scences

Suggested Markets

Just to whet the appetite, we call out logistics, robotics, medical, and manufacturing as sectors where affordable ToF 3D imaging can deliver value on investment. But of course you may have 3D applications in mind in another sector.

Courtesy IDS Imaging

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera and components selection.  With a large portfolio of cameraslensescablesNIC cards and industrial computers, we can provide a full vision solution!

About you: We want to hear from you!  We’ve built our brand on our know-how and like to educate the marketplace on imaging technology topics…  What would you like to hear about?… Drop a line to info@1stvision.com with what topics you’d like to know more about.

#3D

#Nion

#ToF

#timeofflight

#IDSImaging