Histogram – Adept AdeptSight Reference Guide User Manual
Page 245

Histogram
VRESULT
1511
Histogram of greylevel values of the pixels in the tool's region of interest that are included in the final
histogram. Pixels removed from the histogram by tails or thresholds are not included in this calculation.
The histogram comprises 256 bins. To each of the 256 possible greylevel values is associated one
histogram bin It contains the number of pixels with the corresponding greylevel value in the region of
interest. Read only.
Syntax
Micro V+
value = VRESULT (sequence_id, tool_id, instance_id, 1511, index_id, frame_id)
V+
value = VRESULT ($ip, sequence_id, tool_id, instance_id, 1511, index_id, frame_id)
Type
Long
Range
Greater than or equal to 0.
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
1511: the value used to reference this property.
index_id
N/A
frame_id
N/A
Histogram
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 245