当前位置:网站首页>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 )
边栏推荐
- Principle of finding combinatorial number and template code
- PLC Analog input analog conversion FB s_ ITR (Mitsubishi FX3U)
- Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
- Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
- 2022 safety officer-b certificate examination practice questions simulated examination platform operation
- Synthetic watermelon game wechat applet source code / wechat game applet source code
- Leetcode skimming: binary tree 02 (middle order traversal of binary tree)
- Sql--- related transactions
- Basis of deep learning neural network
猜你喜欢
![[eight sorts ②] select sort (select sort, heap sort)](/img/4b/da0d08230391d6ee48cd8cfd2f7240.png)
[eight sorts ②] select sort (select sort, heap sort)

Principle of finding combinatorial number and template code

Leetcode skimming: stack and queue 05 (inverse Polish expression evaluation)

RFID makes the inventory of fixed assets faster and more accurate

Some understandings of graph convolution neural network r-gcn considering relations and some explanations of DGL official code

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

Viewing and modifying volume group attributes of Aix storage management (II)

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

教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)

Advanced skills of testers: a guide to the application of unit test reports
随机推荐
The pain of Xiao Sha
Collection: comprehensive summary of storage knowledge
Variables and constants of go language foundation
Promise和模块块化编程
Recently, three articles in the nature sub Journal of protein and its omics knowledge map have solved the core problems of biology
excel查找与引用函数
How to determine whether the current script is in the node environment or the browser environment?
Shell Function
Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
What are the differences between software testers with a monthly salary of 7K and 25K? Leaders look up to you when they master it
Global and Chinese markets for context and location-based services 2022-2028: Research Report on technology, participants, trends, market size and share
测试人进阶技能:单元测试报告应用指南
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
Picture puzzle wechat applet source code_ Support multi template production and traffic master
DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning
Leetcode question brushing: stack and queue 07 (maximum value of sliding window)
ACM tutorial - quick sort (regular + tail recursion + random benchmark)
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
Two TVs
Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners