read_image (Image, 'C:/Users/Administrator/Desktop/halcon/12.png')
*读取图片
decompose3 (Image, r, g, b)
*将三通道图像转成三副单通道图像,下图为转换后的单通道图像b分量部分
threshold (r, Regionr, 128, 255)
read_image (Image, 'C:/Users/Administrator/Desktop/halcon/12.png')
*读取图片
decompose3 (Image, r, g, b)
*将三通道图像转成三副单通道图像,下图为转换后的单通道图像b分量部分
threshold (r, Regionr, 128, 255)