Halcon彩色线序检查
read_image (Image20231227151141, 'D:/image/bilibili/photo/屏幕截图 2023-12-27 151141.png')
decompose3 (Image20231227151141, Image1, Image2, Image3)
get_image_size (Image1, Width, Height)
*red
sub_image (Image1, Image2, ImageSub1, 2, 0)
*yellow
sub_image (Image2, Image3, ImageSub2, 2, 0)
*blue
sub_image</

文章详细描述了使用Halcon库进行彩色图像线序检查的过程,包括图像分解、子区域提取、阈值操作、区域连接、形态学处理和颜色识别,最终实现线序的自动识别和颜色分类。
最低0.47元/天 解锁文章
1625

被折叠的 条评论
为什么被折叠?



