56 Spyder 3 CL User's Manual
03-032-20008-00 DALSA
7.4 Data Processing
Setting a Region of Interest (ROI)
Purpose: Sets the pixel range used to collect the end-of-line statistics and
sets the region of pixels used in the
ccg, gl, gla, ccf, and ccp
commands.
In most applications, the field of view exceeds the required object
size and these extraneous areas should be ignored. It is
recommended that you set the region of interest a few pixels inside
the actual useable image.
Syntax:
roi x1 y1 x2 y2
Syntax Elements:
x1
Pixel start number. Must be less than the pixel end number in a
range from
1 to sensor resolution.
y1
Column start number. Since the Spyder 3 CL is a line scan
camera, this value must be
1.
x2
Pixel end number. Must be greater than the pixel start number
in a range from
1 to sensor resolution.
y2
Column end number. Since the Spyder 3 CL is a line scan
camera, this value must be
1.
Notes:
•
To return the current region of interest, use the commands
gcp or get roi.
Related Commands
ccg, gl, gla, ccf, ccp, cpa, els
Example:
roi 10 1 50 1