74
Piranha2 User’s Manual
Code Command
Short
Form
Parameters Description
Parameters:
i
= integer
f
= float
t
= tap selector
s
= string
x1
= pixel start
number
x2
= pixel end number
[]=
optional
parameter
400 for 10-bit. This command
only works in uncalibrated
mode.
2 correction_calibrate_fpn
ccf [i]
Start FPN coefficient
calibration. Use
css
to set
sample size. Values range
from 1 to 100DN for 8-bit
mode and 4 to 400 for 10-bit.
3
correction_calibrate_prnu
ccp
[i]
Start PRNU coefficient
calibration. Use
css
to set
sample size. Values range
from 64 to 251DN for 8-bit
mode and 256 to 1007DN for
10-bit.
4 correction_set_sample
css i
Set number of line samples
averaged for pixel coefficient
calculations or for output of
gla
command. Values: 16, 32,
64. Factory setting: 64
5
display_pixel_coeffs
dpc
[i] [i]
Display the pixel coefficients
in the order FPN, PRNU, FPN,
PRNU, … Optional pixel start
and end values in a range from
1 to sensor pixel count.
6 endof_line_sequence
els i
Set the end-of-line sequence:
0
: Off
1
: On, default value
7
get_camera_id
gci
Read the camera ID.
8 get_camera_model
gcm
Read the camera model
number.
9
get_camera_parameters
gcp
Read camera parameters.
10 get_camera_serial
gcs
Read the camera serial
number.
11
get_camera_version
gcv
Read the firmware version and
FPGA version.
12 get_fpn_coeff
gfc i
Read the FPN coefficient.
14
get_line
gl
[i] [i]
Get a line of raw video (no
digital processing or test
pattern) displaying one pixel
value after another and the
minimum, maximum, and
mean value of the sampled
line. Optional pixel start and
end values in a range from 1 to
sensor pixel count.
15 get_line_average
gla [i]
[i]
Read the average of line
samples. Use
css
to set
sample size. Optional pixel
03-32-00493-11
DALSA