Laplacian Edge Detection Algorithm Based on CUDA

MENG Xiao-hua,LIU Jian-qiang,OU Ye-xiang,ZHANG Qing-feng
DOI: https://doi.org/10.3969/j.issn.1000-3428.2012.18.051
2012-01-01
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.
What problem does this paper attempt to address?