User`s manual

Spyder 3 GigE User Manual
03-032-10158-09 DALSA
66
A2 Data Processing
A2.1 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
42H ccg, 43Hcao, 44Hgl, 45Hgla,46H ccf, and
47Hccp 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 GigE 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 GigE is a line scan
camera, this value must be
1.
Notes:
To return the current region of interest, use the commands
48Hgcp or 49Hget roi.
Related Commands
50Hccg, 51Hcao, 52Hgl, 53Hgla, 54Hccf, 55Hccp, 56Hcpa, 57Hels
Example:
roi 10 1 50 1