- 博客(3)
- 收藏
- 关注
原创 Halcon局部阈值产品表面划痕检测
dyn_threshold (Image, ImageMean, DarkPixels, 5, 'dark')//使用局部阈值分割图像,输入图像的参考图像一般为均值图像,设置原图与对比图像的像素偏移差为5connection (DarkPixels, ConnectedRegions)select_shape (Errors, Scratches, 'area', 'and', 50, 10000)//筛选划痕。read_image (Image, 'surface_scratch')//读取图片。
2023-06-06 15:51:40
408
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人