Piranha Color Camera User’s Manual 44
DALSA 03-032-10211-01 5/9/2007
Set up the camera operating environment
(i.e. line rate, exposure, offset, gain, etc.)
Set the calibration sample size using
the command css. It is recommended that
you use the default setting.
Perform FPN calculation
Perform PRNU calculation
1.Stopalllightfromenteringthecamera.(Tip:Coverlenswithalenscap.)
2.Verifythattheoutputsignalleveliswithinrangebyissuingthecommand
or . If there are too many zeros in the output data (more than 6.25%
of output d ata within the roi) , increase the analog offset ( ) or use the
automated algorithm . If the average of the pixels is too high for your
application, reduce the analog offset or gain level ( ).
3.Issuethecommand.ThecamerawillrespondwithOK>(ifnoerroroccurs).
FPNcalculationautomatically calibratesFPNcoefficientsand
digitaloffset.
4.Afterthecalibrationiscomplete,youshouldsavethesesettingstonon‐volatile
memory so they be reusable on reboot. To do so, issue the commands and
.
5. To verify output, enable the FPN coefficients using the command .
Yo ushouldseeclosetozerooutput.
gl gla
sao
cao0
sag
wfc
wus
epc10
i
1.Placeawhitereferenceinfrontofthecamera.
2.Verifythattheoutputsignalleveliswithinrangebyissuingthecommand
or . If the signal level is too low, increase your light level, adjust the analog
gain ( ) or use the automated algorithm .
DALSArecommendsatargetvalueofabout80%ofsaturation.Ifyouchange
thegain,FPNcoefficientsshouldberecalculated.
3. Issue th e command . The camera will respo nd with OK>( if no error occurs).
4.Afterthecalculationis
complete,youcansavethesesettingstonon‐volatile
memorysotheywillberememberedafterpower‐downanddirectionchange.
To do so, issue the commands and
5
gl
gla
sag ccg i 0 i
ccp
wpc wus.
. Enable the coefficients using the command, .
epc11
PerformPRNUcalculationnexttodetermine themultip lication
factorsrequiredtobrin geachpixeltotherequiredvalue(balancetarget)for
flat,whiteoutput.
Set the region of interest to include all
of the image’s pixels of importance using
the command roi x1 y1 x2 y2. You can use
the default if you want to calibrate all pixels.
Di
ital offset and di
ital s
stem
ain, and back
round subtract and
addvaluesshouldbesettozero( , , , )
ssb 0 0sdo 0 0ssg 0 0sab 0 0
FPN Measurement
Performing FPN Measurement
Purpose: Measures fixed pattern noise (FPN).
Syntax:
ccf
Notes:
• Before sending this command, use the
scl command to
select the color or colors you want to adjust. This allows
you to limit the calibration to a single color.
• Perform all analog and digital adjustments before
performing FPN correction.
• Perform FPN correction before PRNU correction.
To save FPN coefficients after calibration, use the
wfc command.