halcon获取图像中心点_halcon学习网

这篇博客展示了如何使用Halcon进行图像处理,提取圆形的中心点。通过一系列图像操作,如闭合、强调、阈值处理等,最终使用fit_circle_contour_xld函数确定圆形的中心坐标。
摘要由CSDN通过智能技术生成

保存

read_image (Image, 'D:/桌面Halcon/bb.jpg')

get_image_pointer1 (Image, _, _, Width, Height)

access_channel (Image, Image1, 2)

rgb3_to_gray (Image1, Image1, Image1, ImageGray)

gray_closing_shape (ImageGray, ImageClosing, 11, 11, 'octagon')

gray_closing_shape (ImageGray, ImageClosing, 11, 11, 'octagon')

emphasize (ImageClosing, ImageEmphasize, 7, 7, 0.3)

access_channel (ImageEmphasize, Image2, 1)

rgb3_to_gray (ImageEmphasize, ImageEmphasize, ImageEmphasize, ImageGray1)

hysteresis_threshold (ImageGray1, RegionHysteresis, 30, 60, 10)

region_to_mean (RegionHysteresis, ImageGray1, ImageMean)

gray_closing_shape (ImageMean, ImageClosing1, 3, 3, 'rhombus')

binomial_filter (ImageClosing1, ImageBinomial, 3, 3)

gray_closing_rect (ImageBinomial, ImageClosing2, 2, 2)

erosion_circle (RegionHysteresis,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值