首页 | 本学科首页   官方微博 | 高级检索  
     

基于CUDA的拉普拉斯边缘检测算法
引用本文:孟小华,刘坚强,区业祥,张庆丰.基于CUDA的拉普拉斯边缘检测算法[J].计算机工程,2012,38(18):190-193.
作者姓名:孟小华  刘坚强  区业祥  张庆丰
作者单位:1. 暨南大学计算机科学系,广州510632;暨南大学天体测量、动力学与空间科学中法联合实验室,广州510632
2. 暨南大学计算机科学系,广州,510632
基金项目:国家自然科学基金资助项目,广东省部产学研结合引导基金资助项目,广州市动漫产业发展基金资助项目
摘    要:拉普拉斯边缘检测算法常用于去除CCD天文图像中的宇宙射线噪声,但其串行算法计算复杂度较高。为此,分析拉普拉斯边缘检测算法的并行性,在统一计算设备架构(CUDA)并行编程环境下,提出一种基于CUDA的拉普拉斯边缘检测图形处理单元(GPU)并行算法。分割天文图像得到多幅子图,根据GPU的硬件配置设定Block和Grid的大小,将子图依次传输到显卡进行并行计算,传回主存后拼接得到完整的图像输出。实验结果表明,图像尺寸越大,该并行算法与串行算法相比具有的速度优势越大,可获得10倍以上的加速比。

关 键 词:拉普拉斯边缘检测算法  图形处理单元  统一计算设备架构  并行处理  天文图像  宇宙射线
收稿时间:2011-11-22
修稿时间:2012-01-31

Laplacian Edge Detection Algorithm Based on CUDA
MENG Xiao-hua , LIU Jian-qiang , OU Ye-xiang , ZHANG Qing-feng.Laplacian Edge Detection Algorithm Based on CUDA[J].Computer Engineering,2012,38(18):190-193.
Authors:MENG Xiao-hua  LIU Jian-qiang  OU Ye-xiang  ZHANG Qing-feng
Affiliation:a,b(a.Department of Computer Science;b.Sino-France Joint Laboratory for Astrometry,Dynamics and Space Science,Jinan University,Guangzhou 510632,China)
Abstract:Laplacian edge detection algorithm is widely used in the removal of cosmic ray noise in the CCD astronomical images,but it has higher computation complexity of single CPU.To solve this problem,this paper proposes a parallel Laplacian edge detection algorithm with Graphic Processor Unit(GPU) based on Compute Unified Device Architecture(CUDA) by analyzing the parallelism of Laplacian edge detection.The main algorithm running on the main CPU is responsible for split the astronomical image into some subgraphs.Then it sets Block and Grid size according to the GPU hardware configuration,and transfers the subgraph to graphics card for parallel computing.Finally it retrieve the processed subgraph to main memory and joining together to get complete image output.Experimental results show that,with the image size increases,the speed advantage of the parallel algorithm is greater than the serial algorithm,and it obtains more than ten times speedup measured.
Keywords:Laplacian edge detection algorithm  Graphic Processor Unit(GPU)  Compute Unified Device Architecture(CUDA)  parallel processing  astronomical image  cosmic ray
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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