电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

halconEdgeExtraction边缘提取

halconEdgeExtraction边缘提取_第1页
1/6
halconEdgeExtraction边缘提取_第2页
2/6
halconEdgeExtraction边缘提取_第3页
3/6
Edge Ex traction -- 边缘提取 楼主# 更多发布于:2013-11-06 12:09 以下内容来自 826 工作室 小马老师提供! 1. 一般过程 ******************************************** * sobel_amp(Image : EdgeAmplitude : FilterType, Size : )* 不能完全排除虚假边缘,检测出的结果容易出现多像素边缘 * sobel 算子由两个卷积核组成* a = 1 2 1 0 0 0 -1 -2 -1 b = 1 0 -1 2 0 -2 1 0 -1 EdgeAmplitude output -- 边缘强度图像 FilterType 'sum_sqrt' sqrt(a^2 + b^2) / 4 'sum_abs' (|a| + |b|) / 4 'thin_sum_abs' (thin(|a|) + thin(|b|)) / 4 'thin_max_abs' max(thin(|a|),thin(|b|)) / 4 'x' b / 4 'y' a / 4 ************************************************* 一个简单的例子 dev_close_window() read_image(Image,'fuse') get_image_size(Image,Width,Height) dev_open_window(0,0,Width,Height,'black',WindowHandle) *sobel 算子 sobel_amp(Image,EdgeAmplitude,'thin_sum_abs',3)*二值 threshold(EdgeAmplitude,Region,30,255) *骨骼化 -- 去掉多像素边缘 skeleton(Region,Skeleton) Filter Image HALCON offers a wide range of edge filters. One of the most popular filters is the Sobel filter. This is the best of the old-fashioned filters. It combines speed with a reasonable quality. The corresponding operators are called sobel_amp and sobel_dir. In contrast, edges_image provides the state of the art of edge filters. This operator is actually more than just a filter. It includes a thinning of the edges using a non-maximum suppression and a hysteresis threshold for the selection of significant edge points. It also returns the edge direction and the edge amplitude very accurately, which is not the case with the Sobel filter. This operator is recommended if higher quality is more important than a longer execution time. If the images are not noisy or blurred, you can even combine accuracy and speed by using the mo...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

halconEdgeExtraction边缘提取

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部