User`s manual
Piranha HS 4x User’s Manual 25
DALSA Corp. PRELIMINARY 03-32-10040-03
3.9 Setting a Region of Interest
The roi command sets the pixel range used to collect the end of line statistic and sets the
region of pixels used in the
cag, cao, gl, gla, ccf, and ccp commands.
To define a region of interest, use the command:
Syntax:
roi x1 x2
Syntax Elements:
x1
Pixel start number. Must be an odd number and less than the
pixel end number.
x2
Pixel end number. Must be an even number and greater than the
pixel start number.
Related
Commands
• cag, cao, ccf, ccp (see section 3.11 Calibrating the Camera for
details on these commands)
• gl, gla (see section 3.10 Returning Video Information for details
on theses commands)
Example:
roi 11 50
3.10 Returning Video Information
The camera’s microcontroller has the ability to read video data. This functionality can be
used to verify camera operation and to perform basic testing without having to connect
the camera to a framegrabber.
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 for each tap.