Piranha 3 User Manual
DALSA 03-032-10216-02
39
Calibrating Camera Gain (Automatic Tap Matching)
Purpose:
Instead of manually setting the analog gain to a specific value, the
camera can determine appropriate gain values for optimal tap
matching. 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 (
ssg
) 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
maximum pixel per tap within the ROI of the multi-line
average (
css
command) is equal to the specified target.
t
Tap value. Use
0
for all taps or
1
to
8
for individual tap
selection.
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
Содержание Piranha3
Страница 6: ...Piranha 3 User Manual 03 032 10216 02 DALSA 6...
Страница 14: ...Piranha 3 User Manual 03 032 10216 02 DALSA 14...
Страница 22: ...Piranha 3 User Manual 03 032 10216 02 DALSA 22...
Страница 74: ...Piranha 3 User Manual 03 032 10216 02 DALSA 74...
Страница 86: ...Piranha 3 User Manual 03 032 10216 02 DALSA 86 This Declaration corresponds to EN 45 014...
Страница 88: ...Piranha 3 User Manual 03 032 10216 02 DALSA 88...