Mode – Adept AdeptSight Reference Guide User Manual

Page 353

Advertising
background image

Mode

VRESULT

1504

Mode of the greylevel distribution 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 mode is the greylevel value which corresponds to the histogram bin with the highest number of pixels.

Read only.

Syntax

Micro V+

value = VRESULT (sequence_id, tool_id, instance_id, 1504, index_id, frame_id)

V+

value = VRESULT ($ip, sequence_id, tool_id, instance_id, 1504, index_id, frame_id)

Type

Double

Range

Minimum: 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.

ID

1504: the value used to reference this property.

index_id

N/A

object_id

N/A

Mode

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 353

Advertising