Tech Note
For example, in a
Finally, use a post processing algorithm that averages the values of Sensor A and B in the last bit as illustrat- ed in Example 3. This will create a smooth transition region to merge the slopes of the two output graphs. The sample algorithm below uses a multiplier of 4 and an offset of 720 to produce a
if (pixel A < 512){ pixel_out = pixel A
}elseif (pixel B < 16){
pixel_out = (pixel A + ((pixel B * 4)+720))/2 }else{
pixel_out = (pixel B * 4) + 720
}
By applying a variety of different equations to this
In all of the previous examples, the shutter speed was used to calibrate the two sensors. It is also possible to use gain for calibration or a combination of shutter and gain to get as close as possible to precise calibration. Be aware, however, that increasing gain will also impact the noise level of the sensor output, which may or may not be acceptable for a particular application.
For more information about high dynamic range imaging or the
NO.