当前位置:网站首页>Edge extraction edges based on Halcon learning_ image. Hdev routine
Edge extraction edges based on Halcon learning_ image. Hdev routine
2022-07-02 01:10:00 【BoomBiuBiu】
* Read the picture
read_image (Image, 'fabrik')
* Edge extraction
* Get the edge amplitude image and edge direction image
edges_image (Image, ImaAmp, ImaDir, 'lanser2', 0.5, 'nms', 12, 22)
* Two valued
threshold (ImaAmp, Edges, 1, 255)
* Extract the skeleton
skeleton (Edges, Skeleton)
* Form a sub-pixel contour through the skeleton
gen_contours_skeleton_xld (Skeleton, Contours, 1, 'filter')
* display picture
dev_display (Image)
* Display color
dev_set_colored (6)
* Show the outline
dev_display (Contours)* Read the picture
read_image (Image, 'fabrik')
* Edge extraction
* Get the edge amplitude image and edge direction image
edges_image (Image, ImaAmp, ImaDir, 'lanser2', 0.5, 'nms', 12, 22)Edge amplitude image (ImaAmp):

Edge direction image (ImaDir):

* Two valued
threshold (ImaAmp, Edges, 1, 255)
* Extract the skeleton
skeleton (Edges, Skeleton)
* Form a sub-pixel contour through the skeleton
gen_contours_skeleton_xld (Skeleton, Contours, 1, 'filter')
* display picture
dev_display (Image)
* Display color
dev_set_colored (6)
* Show the outline
dev_display (Contours)
edges_image(Image : ImaAmp, ImaDir : Filter, Alpha, NMS, Low, High : ):
Use Deriche, Lanser, Shen perhaps Canny Filter for image edge extraction
Parameters ( translate ):
Image : The input image
ImaAmp: Edge amplitude ( Gradient size ) Images
ImaDir : Edge direction image
Filter: Edge operator
Alpha: Filter parameters , Small values result in strong smoothing , But less detail (canny Opposite operator )
NMS: Non maximum inhibition ( Set to none, Indicates that this value is not required )
Low: Lower threshold of hysteresis threshold operation ( If threshold setting is not required , Is a negative value )
High : Upper threshold of hysteresis threshold operation ( If threshold setting is not required , Is a negative value )
边栏推荐
- Global and Chinese markets for power over Ethernet (POE) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
- "C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
- DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning
- [wechat authorized login] the small program developed by uniapp realizes the function of obtaining wechat authorized login
- Han Zhichao: real time risk control practice of eBay based on graph neural network
- Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
- SSO single sign on implementation.
- What is commercial endowment insurance? Is commercial endowment insurance safe?
- How can programmers better plan their career development?
- 工作中非常重要的测试策略,你大概没注意过吧
猜你喜欢

Synthetic watermelon game wechat applet source code / wechat game applet source code

Entrepreneurship is a little risky. Read the data and do a business analysis

Output results of convolution operation with multiple tensors and multiple convolution kernels

【八大排序③】快速排序(动图演绎Hoare法、挖坑法、前后指针法)

To meet the needs of consumers in technological upgrading, Angel water purifier's competitive way of "value war"

Datawhale community blackboard newspaper (issue 1)

Develop a simple login logic based on SSM

【微信授权登录】uniapp开发小程序,实现获取微信授权登录功能

2022 high altitude installation, maintenance and removal of test question simulation test platform operation

Collection: comprehensive summary of storage knowledge
随机推荐
[dynamic planning] interval dp:p3205 Chorus
AIX存储管理之卷组属性的查看和修改(二)
Review notes of compilation principles
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
Leetcode skimming: stack and queue 06 (top k high-frequency elements)
Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for supply chain strategy and operation consulting 2022-2028: Research Report on technology, participants, trends, market size and share
程序员该如何更好的规划自己的职业发展?
The pain of Xiao Sha
Develop a simple login logic based on SSM
RFID让固定资产盘点更快更准
With the acquisition of Xilinx, AMD is more than "walking on two legs" | Jiazi found
测试员8年工资变动,令网友羡慕不已:你一个月顶我一年工资
Some understandings of graph convolution neural network r-gcn considering relations and some explanations of DGL official code
Basic usage of shell script
Leetcode question brushing: stack and queue 07 (maximum value of sliding window)
How to type spaces in latex
Datawhale community blackboard newspaper (issue 1)
Global and Chinese markets of digital crosspoint switches and mux/demux 2022-2028: Research Report on technology, participants, trends, market size and share
cookie、session、tooken