当前位置:网站首页>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 )
边栏推荐
- Basis of deep learning neural network
- Review notes of compilation principles
- Load and domcontentloaded in JS
- Source code of Qiwei automatic card issuing system
- 449 original code, complement code, inverse code
- [conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
- [WesternCTF2018]shrine writeup
- The concept and application of Cartland number
- Leetcode question brushing: stack and queue 07 (maximum value of sliding window)
- New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
猜你喜欢

Infiltration records of CFS shooting range in the fourth phase of the western regions' Dadu Mansion

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

测试员8年工资变动,令网友羡慕不已:你一个月顶我一年工资

Random avatar encyclopedia, multi category wechat applet source code with history_ Support traffic master
![[bottom pop-up selector] uniapp picker component - scroll selector popped up at the bottom](/img/d4/9d27b29080ce83004aa875a499de9b.png)
[bottom pop-up selector] uniapp picker component - scroll selector popped up at the bottom

Leetcode skimming: stack and queue 03 (valid parentheses)

How does schedulerx help users solve the problem of distributed task scheduling?
![[WesternCTF2018]shrine writeup](/img/26/1700095c9b38b9b74a1b1136e5d5de.jpg)
[WesternCTF2018]shrine writeup

New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code

I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
随机推荐
Powerful calendar wechat applet source code - support the main mode of doing more traffic
969 interlaced string
2022 operation of simulated examination platform for melting welding and thermal cutting work license
@Valid parameter verification does not take effect
PLC Analog input analog conversion FB s_ ITR (Mitsubishi FX3U)
excel查找与引用函数
Weather forecast applet source code weather wechat applet source code
How does schedulerx help users solve the problem of distributed task scheduling?
AIX存储管理之卷组的创建(一)
What skills does an excellent software tester need to master?
Han Zhichao: real time risk control practice of eBay based on graph neural network
About asp Net core uses a small detail of datetime date type parameter
Excel search and reference function
XMind思维导图
Basic usage of three JS high-order functions --filter---map---reduce
gradle
测试员8年工资变动,令网友羡慕不已:你一个月顶我一年工资
Global and Chinese market of wireless charging magnetic discs 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
[JS download files through url]