SW-2000M-CL-65
33
7.3.4
ROI
– region of interest
This command can be used to select only specific sections of each line to be sent out. Up to
four regions can be defined. The selected parts of the line will be combined together to make
one, shorter line. There are no empty pixels or spaces in between the regions in the output
data.
Furthermore, both binning and reversed readout order can be applied after this. Please note
that all pixel number indices still and always refer to the real, physical pixel numbers of the
sensor itself. First pixel is labelled as ‘1’ and thus the last pixel is number 2048.
The start pixel index must always be odd and smaller than the respective end pixel index at
each region and the regions must not overlap. All indices must be within range of 1 to 2048.
Minimum width of each ROI is 16 pixels. Each region may have individual widths. Changes to
selections are made by defining the complete set again.
Region #1 Region #2 Region #3 Region #4
□□□□□…□□□□□□ □□□□□□□…□□□□□□□□
□□□…□□□ □□□…□□□
↑
↑ ↑ ↑
↑ ↑ ↑ ↑
X0 X1 X2 X3 X4 X5 X6 X7
examples: 23 88 897 1356 1807 2020
Command
Description
ROI ?
Returns the ROI command syntax
ROI
Returns the present ROI setting, e.g. ROI ON, X1-X2, X3-X4, X5-X6
ROI X0-X1
Sets the ROI to start at pixel X0 and stop at pixel X1
ROI X0-X1, X2-X3
Sets region #1 to start at pixel X0 and end at pixel X1
and region #2 to start at pixel X2 and end at pixel X3
ROI X0-X1, X2-X3,
X4-X5
Sets region #1 to start at pixel X0 and end at pixel X1
and region #2 to start at pixel X2 and end at pixel X3
and region #3 to start at pixel X4 and end at pixel X5
ROI X0-X1, X2-X3,
X4-X5, X6-X7
Sets region #1 to start at pixel X0 and end at pixel X1
and region #2 to start at pixel X2 and end at pixel X3
and region #3 to start at pixel X4 and end at pixel X5
and region #4 to start at pixel X6 and end at pixel X7
ROI ON
Activates ROI. If no regions are specified then all 2048 pixels will be
sent out.
ROI OFF
Deactivates ROI. ROI ON command returns the same regions into use,
unless new regions have been defined. Default setting.