30
Piranha2 User’s Manual
Returning a Single Line of Video
The
gl
command returns a complete line of video (without digital processing or test
pattern) displaying one pixel value after another. It also displays the minimum,
maximum, and mean value of the line sampled. If a region of interest has been set, the
statistics are generated for the region of interest only.
Use this command, or the following
gla
command, to ensure the proper video input
range into the processing chain before executing any pixel calibration commands.
To return a single line of video, use the command:
Syntax:
gl [x1] [x2]
Syntax Elements:
[x1]
Optional parameter. This sets the start pixel to display
on screen. Allowable range is 1 to sensor pixel count.
This parameter does not affect the Min, Max, and Mean
statistics generated at the end of the line output.
[x2]
Optional parameter. This sets the end pixel to display on
screen. Allowable range is 1 to sensor pixel count. This
parameter does not affect the Min, Max, and Mean
statistics generated at the end of the line output.
Notes:
•
If you do not specify a pixel range to display, the line output
will display all sensor pixels on screen.
•
If a region of interest has been set using the
roi
command,
the Min, Max, and Mean statistics at the end of the line
output include statistics for the region of interest only.
•
If you are using the 4 tap model, and your region of interest
is in one half of the sensor only (taps 1 and 2, or taps 3 and 4),
the values displayed on screen for the taps outside the ROI
are a mean of the ROI line statistics.
•
Values returned are in DN.
Example:
gl 10 20
Returning Multiple Lines of Video
You can also return the average for multiple lines of video data. The number of lines to
sample is set and adjusted by the
css
command. The camera displays the Min., Max., and
Mean statistics. If you are using a region of interest, the camera displays the statistics for
the region of interest only.
03-32-00493-11
DALSA