首页 | 官方网站   微博 | 高级检索  
     

基于OpenCL的Prewitt算法的并行实现
引用本文:马歌,肖汉.基于OpenCL的Prewitt算法的并行实现[J].现代电子技术,2014(20):103-106.
作者姓名:马歌  肖汉
作者单位:郑州师范学院信息科学与技术学院
基金项目:国家“973”重点基础研究发展计划(2012CB719900);中国博士后科学基金(2012M510110);河南省重点科技攻关项目(132102310003);河南省教育厅科学技术研究重点项目(13A520354)
摘    要:Prewitt算法是数字图像分割中最常用的边缘检测算法。采用传统CPU上的串行方法实现该算法需要较大的计算量、耗时较长,因此,通过GPU对其进行性能加速有着重要的意义。然而由于GPU硬件体系结构的差异性,跨平台移植是一件非常困难的工作。针对上述问题,提出了一种基于OpenCL异构框架的Prewitt图像边缘检测并行算法。实验结果表明,该并行算法比CPU上的串行算法运行速度快,加速比可达30倍,有效地提高了大规模数据处理的效率,可移植性好,具有较高的应用价值。

关 键 词:OpenCL  异构框架  边缘检测  Prewitt算法  并行实现

Implementation of Prewitt algorithm parallel based on OpenCL
MA Ge,XIAO Han.Implementation of Prewitt algorithm parallel based on OpenCL[J].Modern Electronic Technique,2014(20):103-106.
Authors:MA Ge  XIAO Han
Affiliation:(College of Information Science & Technology,Zhengzhou Normal University,Zhengzhou 450044,China)
Abstract:Prewitt algorithm is the most commonly used edge detection algorithm in digital image segmentation,but large amount of calculations and great time consumption are needed to be suffered if traditional CPU serial method is used to imple-ment the algorithm. Therefore,it is important to accelerate its performance by GPU. However,the cross platform transplantation is very difficult because of the difference of GPU hardware system structure. In view of the above questions,a parallel algorithm of Prewitt image edge detection based on OpenCL heterogeneous framework is proposed. The experimental results show that the running speed of the parallel algorithm is faster than that of the serial algorithm in CPU,and its speedup ratio is 30 times as the serial algorithm. It improved the efficiency of large-scale data processing effectively. It has good portability and high application value.
Keywords:OpenCL  OpenCL  heterogeneous framework  edge detecetion  Prewitt algorithm  parallel implementation
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号