omron — ModePixelCount

ModePixelCount ModePixelCount VRESULT 1505 Number of pixels in the histogram bin which corresponds to the Mode of the greylevel distribution of all pixels in the tool 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 mode is the greylevel value which corresponds to the histogram bin with the highest number of pixels. This property is read-only. Syntax Micro V+ value = VRESULT (sequence_id, tool_id, instance_id, 1505, index_id, frame_id) V+ value = VRESULT ($ip, sequence_id, tool_id, instance_id, 1505, index_id, frame_id) Type Double Range Greater than or equal to 0.

Parameters ACE Reference Guide, 18317-000 Rev A Page 390 $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. ID 1505: the value used to reference this property. index id _ N/A object id _ N/A