Contrastthreshold – Adept AdeptSight Reference Guide User Manual
Page 140

ContrastThreshold
VPARAMETER
303
Defines the minimum contrast needed for an edge to be detected in the input image and used for arc
computation. This threshold is expressed in terms of a step in greylevel values. The property is read only
except when ContrastThresholdMode is set to hsContrastThresholdFixedValue.
Syntax
Micro V+
VPARAMETER (sequence_id, tool_id, 303, index_id, object_id) = value
value = VPARAMETER (sequence_id, tool_id, 303, index_id, object_id)
V+
VPARAMETER (sequence_id, tool_id, 303, index_id, object_id) $ip = value
value = VPARAMETER ($ip, sequence_id, tool_id, 303, index_id, object_id)
Type
Long
Range
Minimum: 1
Maximum: 255
Remark(s)
By default, the tool selects a ContrastThresholdMode based on image content to provide flexibility to
variations in image lighting conditions and contrast. Adaptive threshold modes are generally
recommended. A fixed-value contrast threshold should only be used when adaptive values do not
provide satisfactory results.
Parameters
$ip
IP address of the vision server. Applies to V+ syntax only. Uses standard IP
address format, for example: 192.168.1.120.
ContrastThreshold
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 140