Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

HDR Image Processing in NI Vision

Does anyone know of an NI Vision routine for computing an HDR image from a sequence of standard or LDR images?

Specifically, I want to acquire multiple 8 to 12 bit grey scale images at multiple exposures and combine them into a floating point image fo wider dynamic range and enhanced contrast in both light and darl regions of the image.

I was not able to find anything on NI.com or in the "What's New" with NI Vision that addressed HDR processing.

Regards,
Doug Wilson
Message 1 of 3
(5,364 Views)

It doesn't seem like it would be that difficult.  I would probably create a lookup table for each exposure level that maps the image into the final image format.  It would ramp from zero up to full intensity in the bright part, maintain full intensity in the mid part, then ramp down to zero in the darker region.  The ramps would be designed so the pixels from two adjacent exposures would add up to the correct intensity level.  Think of trapezoidal windows.  Of course the min and max exposure images would only have ramps on one end.  After applying the lookup table to each image, just add them all together.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(5,345 Views)

Bruce,

Yes, I know it is probably not all that hard to implement. But before doing that, I wanted to see if it had already been done.

I think there might be a few more challenges than you think:-). Isn't that the way these "simple" things usually turn out?

Regards,
Doug Wilson
0 Kudos
Message 3 of 3
(5,325 Views)