Piranha Color Camera User’s Manual 50
DALSA 03-032-10211-01 5/9/2007
Setting Digital System Gain
Purpose: Improves signal output swing after a background subtract.
When subtracting a digital value from the digital video signal,
using the
ssb command, the output can no longer reach its
maximum. Use this command to correct for this where:
ssg value=
maxoutputvalu
maxoutputvalue‐ssbvalue
Syntax:
ssg t i
Syntax Elements:
t
Tap selection. Allowable range is 1 to 4, or 0 for all taps.
Gain setting. The gain ranges are 0 to 65535. The digital
video values are multiplied by this value where:
Therefore, the multiplication factor range is 0 to 16.
Use this command in conjunction with the
ssb command.
Related Commands:
ssb
Example:
ssg 1 15
Setting Add Background
Purpose: Use the set add background command to ensure a minimum
output value by adding this value to the digital video after
system gain is applied.
Syntax:
sab t i
Syntax Elements:
t
Tap selection. 0 for all taps. Color selection limits the taps
that may be selected. See the scl command for details.
Background add values. The range is from 0 to 4095.
Related Commands:
ssg, scl
Example:
sab 1 25
3.17 Look-Up Tables
The flat field corrections FPN and PRNU assume a linear response to the amount of
light by the sensor, output node, analog amplifier, and analog to digital converter. To
correct any non-linearity in this system of components a Look-Up Table (LUT) has
been implemented in the FPGA for each tap immediately after the ADC. The LUT adds
a signed value (-256 to +255) indexed by the 10 MSB of the input value.
Digital Gain=
4096