halcon finds the vertices of the area

  • Blogger writing is not easy, kids need your encouragement
  • Thousands of waters and thousands of mountains are always in love, so please click a like first.

Introduction

Use halcon to find vertices.

Halcon source code

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

Treatment effect

Original image
Insert picture description here
processing effect
Insert picture description here

  • About the blogger:
  • Industrial automation upper computer software engineer, machine vision algorithm engineer, motion control algorithm engineer. Currently working in the intelligent manufacturing automation industry. Blogger's mailbox: [email protected]
  • Help me like it. Haha.

Guess you like

Origin blog.csdn.net/cashmood/article/details/109026639