halcon求取区域顶点

  • 博主写作不容易,孩子需要您鼓励
  • 万水千山总是情 , 先点个赞行不行

简介

使用halcon求取顶点的方法。

Halcon源代码

read_image (Image1, '1.png')

points_foerstner (Image1, 1, 2, 3, 200, 0.3, 'gauss', 'false', RowJunctions, ColumnJunctions, CoRRJunctions, CoRCJunctions, CoCCJunctions, RowArea, ColumnArea, CoRRArea, CoRCArea, CoCCArea)
for Index := 0 to |RowJunctions|-1 by 1
    disp_cross (3600, RowJunctions[Index], ColumnJunctions[Index], 50, 0)
endfor

处理效果

原始图像
在这里插入图片描述
处理效果
在这里插入图片描述

  • 博主简介:
  • 工业自动化上位机软件工程师、机器视觉算法工程师、运动控制算法工程师。目前从业于智能制造自动化行业。 博主邮箱:[email protected]
  • 帮忙点个赞吧。哈哈。

猜你喜欢

转载自blog.csdn.net/cashmood/article/details/109026639