![SICK IVC-2D Reference Manual Download Page 66](http://html.mh-extra.com/html/sick/ivc-2d/ivc-2d_reference-manual_1264321066.webp)
Chapter
4
Reference Manual
IVC-2D
66
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
Region of Interest (ROI)
ROI Ellipse
This tool generates on every type of image an elliptical shaped ROI (Region Of Interest).
The ROI is used to define an elliptic limited working area to perform image processing
steps or other functions.
The position and dimension of the ROI can be set by specifying the coordinates in pixels of
the center of the ellipse (
X center
and
Y center
) and radius of the axes in X and Y direction
(
X radius
and
Y radius
). The ROI can also be set by adjusting the position and dimension in
the Preview of the program step. Double-clicking on the preview image opens a larger
window with the image to work in.
It is also possible to define the position of the ROI relative to a previously generated result.
This is done by setting an offset of the top left corner of the bounding box of the ellipse
using the input parameters
X
offset
and
Y offset
. The values of the offset must come from
a previous step result or from the table.
Input Parameters
01 = X offset
Offset value of the upper left corner of the bounding box in X
direction. To set an offset the value must come from the table or
as a result from a previous program step.
02 = Y offset
Offset value of the upper left corner of the bounding box in Y
direction. This value must come from the table or be a result from
a previous step.
03 = X center
X coordinate of the centre of the ellipse.
04 = Y center
Y coordinate of the centre of the ellipse
05 = X radius
Radius of the axes in X direction in pixels.
06 = Y radius
Radius of the axes in Y direction in pixels.
Returned Values
None
Error Messages
Err. = 148
Error in ROI
means that a part of the ellipse is out of the
FOV.
Check radius parameters.
Check center and offset coordinates.