Description

Calculates Auto Threshold on the active image and sets it to the tool.

Return Type

A Variant value.  

Syntax

object.AutoThreshold

The AutoThreshold Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McThresholdTool.

Remarks

The threshold is calciulated only if ThresholdType is set to mcttWhiteObjects or mcttDarkObjects