当前位置:网站首页>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 )
边栏推荐
- Shell Function
- How does schedulerx help users solve the problem of distributed task scheduling?
- Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)
- Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share
- Sql--- related transactions
- CTF daily question day45 sensor
- cookie、session、tooken
- To meet the needs of consumers in technological upgrading, Angel water purifier's competitive way of "value war"
- The pain of Xiao Sha
- Leetcode 45 Jumping game II (2022.02.14)
猜你喜欢

Leetcode skimming: binary tree 01 (preorder traversal of binary tree)

The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month

Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners

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

【八大排序②】选择排序(选择排序,堆排序)

Zak's latest "neural information transmission", with slides and videos

Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation

一名优秀的软件测试人员,需要掌握哪些技能?

Schrodinger's Japanese learning applet source code

Basis of deep learning neural network
随机推荐
How to determine whether the current script is in the node environment or the browser environment?
Variables and constants of go language foundation
sso单点登录的实现。
King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
To meet the needs of consumers in technological upgrading, Angel water purifier's competitive way of "value war"
Global and Chinese markets of beverage seasoning systems 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
@Valid parameter verification does not take effect
【八大排序①】插入排序(直接插入排序、希尔排序)
Global and Chinese markets for context and location-based services 2022-2028: Research Report on technology, participants, trends, market size and share
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
Global and Chinese markets for distributed generation and energy storage in telecommunications networks 2022-2028: Research Report on technology, participants, trends, market size and share
How can programmers better plan their career development?
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
How does schedulerx help users solve the problem of distributed task scheduling?
Synthetic watermelon game wechat applet source code / wechat game applet source code
2022 safety officer-b certificate examination practice questions simulated examination platform operation
Cookie, session, tooken
Deb file installation
ACM tutorial - quick sort (regular + tail recursion + random benchmark)