Spyder 3 CL User's Manual
59
DALSA
03-032-20008-00
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 S3-10-01k40-R
Page 13: ...Spyder 3 CL User s Manual 13 DALSA 03 032 20008 00 ...
Page 14: ...14 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 15: ...Spyder 3 CL User s Manual 15 DALSA 03 032 20008 00 ...
Page 16: ...16 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 24: ...24 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 44: ...44 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 102: ...102 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 110: ...110 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...
Page 112: ...112 Spyder 3 CL User s Manual 03 032 20008 00 DALSA ...