mean shift segmentation matlab,Mean Shift图像分割算法的并行化

Mean Shift图像分割算法的并行化

李宏益,吴素萍(宁夏大学数学计算机学院, 银川 750021)

摘 要

图像分割作为高性能并行计算的一个主要应用领域,其算法本身的时间复杂度和实时性需求要求不断改进计算机硬件技术和并行处理的算法。Mean Shift算法是图像分割领域一个比较经典的算法,在图像分割过程中,不需要任何先验知识,是一种无监督的分割过程,在图像分割的具体实现中应用广泛。利用TBB(threading building block)工具和CUDA(compute unified device architecture)对Mean Shift算法进行多核和GPU(graphic processing unit)并行化改造。首先分析Mean Shift分割过程中最耗时的部分Mean Shift聚类,然后利用TBB和CUDA对Mean Shift聚类进行了并行化改造,并对两种并行方法进行了对比分析。实验结果表明,两种并行方法都取得了较好的加速效果,加速比都随着图像增大和带宽参数的增加而增大,基于TBB的加速比稳定趋于核数。

关键词

Parallelization of Mean Shift image segmentation algorithm

Li Hongyi,Wu Suping(School of Mathematics and Computer Science, Ningxia University, Yinchuan 750021, China)

Abstract

Image segmentation is a main field of application in parallel computing.To achieve the high performance needed,the algorithm needs to make use of the improved computer hardware and parallel computing algorithms. Mean Shift algorithm is a relative classic algorithm in image segmentation field,which needs no prior knowledge and is an unsupervised segmentation process,attracting widespread attention for its good applicability. In this paper, we give two parallel improvement methods of Mean Shift using TBB(threading building block)and CUDA(compute unified device architecture)based on Multi-core and GPU(graphic processing unit) processing. First, the most time-consuming part the Mean Shift iteration in the process of Mean Shift image segmentation, is analyzed,then two parallel improvement methods of the Mean Shift iteration using TBB and CUDA are given, Two parallel methods are compared and analyzed. The experimental results show that,two kinds of parallel methods have achieved preferable acceleration effect,with the increase of the image and bandwidth parameter the speedup of two parallel methods is on the increases,and the speedup based on TBB tends to be equal to the number of CPUs.

Keywords

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值