58
PRELIMINARY
Spyder 3 CL User's Manual
03-032-20008-03
DALSA
Calibrating Camera Gain
Purpose:
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.
Syntax:
ccg i t i
Syntax Elements:
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.
2
= This algorithm adjusts analog gain so that the average
pixel value in tap’s ROI is equal to the specified target
value.
3
= This algorithm adjusts digital gain so that the average
pixel value in tap’s ROI is equal to the specified target.
4
= This algorithm adjusts the analog gain so that the peak
tap ROI pixels are adjusted to the specified target.
t
Tap value. Use
0
for all taps or
1
to
2
for individual tap
selection if you are using the two tap model.
i
Calculation target value in a range from
1024
to
4055
DN
(12 bit LSB).
Notes:
•
This function requires constant light input while executing.
•
If very few tap pixels are within the ROI, gain calculation
may not be optimal.
•
When all taps are selected, taps outside of the ROI are set to
the average gain of the taps that are within the ROI.
•
Perform analog gain algorithms before performing FPN and
PRNU calibration.
•
All digital settings affect the analog gain calibration. If you
do not want the digital processing to have any effect on the
camera gain calibration, then turn off all digital settings by
sending the commands:
sdo
0 0
,
epc
0 0
,
ssb
0 0
, and
ssg
0 4096
Example:
ccg 2 0 3040
Related Commands:
sag
,
ssg
Summary of Contents for Spyder 3 S3-10-01k40-00-R
Page 22: ...22 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...
Page 30: ...30 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...
Page 42: ...42 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...
Page 104: ...104 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...
Page 112: ...112 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...
Page 114: ...114 PRELIMINARY Spyder 3 CL User s Manual 03 032 20008 03 DALSA ...