Bin TANG, Wen LONG. Fast Canny algorithm based on GPU+CPU[J]. Chinese journal of liquid crystals and displays, 2016, 31(7): 714-720.
DOI:
Bin TANG, Wen LONG. Fast Canny algorithm based on GPU+CPU[J]. Chinese journal of liquid crystals and displays, 2016, 31(7): 714-720. DOI: 10.3788/YJYXS20163107.0714.
This paper presents a fast method for Canny algorithm based on GPU+CPU. The Canny algorithm is divided into two parts:Gauss filtering
gradient computations
non maximum suppression and double thresholding are processed by GPU. The fast method convert two-dimensional Gaussian filter to two separable convolutions to reduce the computation complexity. Then
multiple threads execute kernel in parallel to speed up the computation in the CUDA program. Finally
threads access shared memory instead of global memory to hide the latencies of global memory. In addition
FIFO is used to connect components in CPU. The simulation results show that the processing time of the 8-bit images with the resolution 1 024×1 024 is 122 ms
which is 5.39 times faster than CPU. Therefore
this method takes full advantage of the parallelism of GPU and the serial processing capability of CPU.
关键词
Keywords
references
CANNY J.A computational approach to edge detection[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence ,1986,PAMI-8(6):679-698.
LUO Y C,DURAISWAMI R.Canny edge detection on NVIDIA CUDA[C]. Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops ,Anchorage,AK:IEEE,2008:1-8.
NIU S X,WANG S,YANG J J, et al. A fast image segmentation algorithm fully based on edge information[J]. Journal of Computer-Aided Design&Computer Graphics ,2012,24(11):1410-1419.(in Chinese)
LIU J W,PAN F,LI J.steganography based on edge detection and minimum error replacement[J]. Chinese Journal of Liquid Crystals and Displays ,2015,30(1):151-156.(in Chinese)
LIU G,AN H,LI X Q, et al. Study on optimizing techniques of breadth-first search algorithm on graphic processing unit[J]. Journal of Chinese Computer Systems, 2014,35(5):1074-1079.