ContrastThresholdMode ContrastThresholdMode VPARAMETER 302 Selects the method used to compute the threshold used for detecting edges in the input image. Syntax Micro V+ VPARAMETER (sequence_id, tool_id, 302, index_id, object_id) = value value = VPARAMETER (sequence_id, tool_id, 302, index_id, object_id) V+ VPARAMETER (sequence_id, tool_id, 302, index_id, object_id) $ip = value value = VPARAMETER ($ip, sequence_id, tool_id, 302, index_id, object_id) Type Long Remarks 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. Range The valid range for this property is as follows: ACE Reference Guide, 18317-000 Rev A Page 168 Value Contrast Threshold Mode Name Description 0 hsContrastThresholdAdaptiveLowSensitivity Uses a low sensitivity adaptive threshold for detecting edges. Adaptive Low Sensitivity reduces the amount of noisy edges but may also cause significant edges to be undetected. 1 hsContrastThresholdAdaptiveNormalSensitivity Uses a normal sensitivity adaptive threshold for detecting edges.