Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
129
Circular
Returned Values
01 = Error flag
Flag = 0 external perimeter found
Flag = -1 no external perimeter found
02 = X center
X coordinate of calculated center of gravity.
If no external perimeter was found
X center = 0.
03 = Y center
Y coordinate of calculated center of gravity.
If no external perimeter was found
Y center = 0.
Example
Figure – Example of a successfully found external contour. Displayed is the line to find a
contour point (yellow line), the found contour (yellow circle) and the center of mass
(red cross).