halcon - binary_threshold, intensity, expand_gray_ref
1.binary_threshold(Image:Region:Method,LightDark:UsedThreshold)使用二值化阈值分割图像;Method有两种,max_separability'和'smooth_histo',都是自动确定分割的阈值,LightDark=light,选择大于等于确定的阈值的region;LightDark=black,选择小于等于确定的阈值的region;