McThresholdToolAutoThreshold Method |
![]() |
Namespace: MediaCy.Addins.ThresholdTool
Public Sub AutoThreshold ( image As McImage, Optional bBrightElseDark As Boolean = true, Optional bSetToDialog As Boolean = false )
ThresholdTool.ThresholdType = mcttDarkObjects
ThresholdTool.AutoThreshold
Debug.Print "Auto threshold = " + ThresholdTool.ThresholdEnd