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

GPU加速的二值图连通域标记并行算法
引用本文:覃方涛,房斌.GPU加速的二值图连通域标记并行算法[J].计算机应用,2010,30(10):2774-2776.
作者姓名:覃方涛  房斌
作者单位:1. 重庆大学计算机学院模式识别研究所;重庆市委党校信息处2. 重庆大学
摘    要:结合NVIDIA公司统一计算设备架构(CUDA)下的图形处理器(GPU)并行结构和硬件特点,提出了一种新的二值图像连通域标记并行算法,高速有效地标识出了二值图的连通域位置及大小,大幅缩减了标记时间耗费。该算法通过搜索邻域内最小标号值的像素点对连通域进行标记,各像素点处理顺序不分先后并且不相互依赖,因此可以并行执行。算法效率不受连通域形状及数量的影响,具有很好的鲁棒性。实验结果表明,该并行算法充分发挥了GPU并行处理能力,在处理高分辨率与多连通域图像时效率为一般CPU标记算法的300倍,比OpenCV的优化函数(CPU)效率高近17倍。

关 键 词:GPU加速    连通域标记    并行化    统一计算设备架构    8邻域
收稿时间:2010-04-07
修稿时间:2010-05-23

GPU accelerated parallel labeling algorithm of connected-domains in binary images
QIN Fang-tao,FANG Bin.GPU accelerated parallel labeling algorithm of connected-domains in binary images[J].journal of Computer Applications,2010,30(10):2774-2776.
Authors:QIN Fang-tao  FANG Bin
Abstract:In combination of NVIDIA's Graphics Processing Unit (GPU) parallel architecture and hardware features under Compute Unified Device Architecture (CUDA) architecture, a new parallel labeling algorithm of connected domain was proposed for binary images. It effectively located the connected domain of the binary image and recorded its size at high speed, and significantly reduced the marking time. It recognized the connected domain through searching the minimum labeled pixel value in neighborhood. Because the processing sequence of each pixel is not in particular order and independent from each other, it can be dealt in parallel. The calculation efficiency of the algorithm is independent of the shapes and the quantity of the connected regions, and the algorithm has good robustness. The experimental results show that the algorithm fully plays the parallel processing capability of GPU, and can get a more than 300 times speedup than general algorithm based on CPU and 17 times speedup than OpenCV function (CPU) in processing high-resolution images and multi-connected-domain images.
Keywords:GPU acceleration                                                                                                                        connected-domain labeling                                                                                                                        parallelization                                                                                                                        Compute Unified Device Architecture (CUDA)                                                                                                                        8-neighborhood
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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