Piranha Color Camera User's Manual
3.14 Analog Gain and Analog Offset
All analog signal processing chain commands should be performed prior to FPN and
PRNU calibration and prior to digital signal processing commands.
Setting Analog Gain
Purpose:
Syntax:
Syntax Elements:
Notes:
Example:
Related Commands:
Calibrating Camera Gain
Purpose:
Syntax:
Syntax
Elements:
DALSA
Sets the camera's analog gain value. Analog gain is multiplied by
the analog signal to increase the signal strength before the A/D
conversion. It is used to take advantage of the full dynamic
range of the A/D converter.
sag t f
t
Tap selection. Use 0 for all taps. Color selection limits the
taps that may be selected by this command. See scl for
further information.
f
Gain value in a range from –10 to +10dB.
To return the current analog gain setting, use the command gcp
or get sag.
sag 0 5.2
ccg
Instead of manually setting the analog gain to a specific value, the camera can
determine appropriate gain values. This command calculates and sets the analog
gain according to the algorithm determined by the first parameter.
ccg i t i
i
Calibration algorithm to use.
1 = This algorithm adjusts analog gain so that 8% to 13% of tap region of
interest (ROI) pixels are above the specified target value.
Algorithm One
2 = This algorithm adjusts analog gain so that the average pixel value in tap's
03-032-10211-03
40
10% Above
Target
Before
Calibration
9/27/2007