Averagecontrast – Adept AdeptSight Reference Guide User Manual
Page 62
AverageContrast
VRESULT
1801
Average contrast, expressed in greylevel values, between light and dark pixels on either side of the found
entity (point, line, or arc). Read only.
Syntax
Micro V+
value = VRESULT (sequence_id, tool_id, instance_id, 1801, index_id, frame_id)
V+
value = VRESULT ($ip, sequence_id, tool_id, instance_id, 1801, index_id, frame_id)
Type
Double
Range
Minimum: Greater than 0.
Maximum: 255
Parameters
$ip
IP address of the vision server. Applies to V+ syntax only. Uses standard IP
address format, for example: 192.168.1.120.
sequence_id
Index of the vision sequence. The first sequence is 1.
tool_id
Index of the tool in the vision sequence. The first tool is 1.
instance_id
Index of the instance for which you want the result.
ID
1801: the value used to reference this property.
index_id
N/A
frame_id
Frame that contains the entity for which you want the result.
AverageContrast
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 62