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

基于OpenCL的图像灰度化并行算法研究
引用本文:肖汉,郭宝云,李彩林,肖诗洋. 基于OpenCL的图像灰度化并行算法研究[J]. 江西师范大学学报(自然科学版), 2020, 44(5): 462-471. DOI: 10.16357/j.cnki.issn1000-5862.2020.05.03
作者姓名:肖汉  郭宝云  李彩林  肖诗洋
作者单位:1.郑州师范学院信息科学与技术学院,河南 郑州 450044; 2.郑州大学信息工程学院,河南 郑州 450001; 3.山东理工大学建筑工程学院,山东 淄博 255000; 4.东北林业大学土木工程学院,黑龙江 哈尔滨 150040
基金项目:山东省重点研发计划资助项目;山东省自然科学基金;国家自然科学基金
摘    要:随着图像数据量的增加,传统单核处理器或多处理器结构的计算方式已无法满足图像灰度化实时处理需求.该文利用图像处理器(GPU)在异构并行计算的优势,提出了基于开放式计算语言(OpenCL)的图像灰度化并行算法.通过分析加权平均图像灰度化数据处理的并行性,对任务进行了层次化分解,设计了2级并行的并行算法并映射到"CPU+GPU"异构计算平台上.实验结果显示:图像灰度化并行算法在OpenCL架构下NVIDIA GPU计算平台上相比串行算法、多核CPU并行算法和CUDA并行算法的性能分别获得了27.04倍、4.96倍和1.21倍的加速比.该文提出的并行优化方法的有效性和性能可移植性得到了验证.

关 键 词:图像灰度化  加权平均  图形处理器  开放式计算语言  并行算法

The Study on Image Gray-Scale Parallel Algorithm Based on OpenCL
XIAO Han1,' target="_blank" rel="external">2,GUO Baoyun3,LI Cailin3,XIAO Shiyang4. The Study on Image Gray-Scale Parallel Algorithm Based on OpenCL[J]. Journal of Jiangxi Normal University (Natural Sciences Edition), 2020, 44(5): 462-471. DOI: 10.16357/j.cnki.issn1000-5862.2020.05.03
Authors:XIAO Han1,' target="  _blank"   rel="  external"  >2,GUO Baoyun3,LI Cailin3,XIAO Shiyang4
Affiliation:1.School of Information Science and Technology,Zhengzhou Normal University,Zhengzhou Henan 450044,China; 2.School of Information Engineering,Zhengzhou University,Zhengzhou Henan 450001,China; 3.School of Civil and Architectural Engineering,Shandong University of Technology,Zibo Shandong 255000,China; 4.School of Civil Engineering,Northeast Forestry University,Harbin Heilongjiang 150040,China
Abstract:With the increase of image data amount,the computing model of the traditional single-core processor or multi-processor structure can't meet the real-time processing requirements of image gray-scale.In this paper,the parallel algorithm of image gray-scale based on Open Computing Language(OpenCL)is proposed by using the advantages of Graphic Processing Unit(GPU)in heterogeneous parallel computing.By analyzing the parallelism of weighted average image gray-scale algorithm data processing,the task is decomposed hierarchically.Two levels parallel algorithm is designed and mapped onto the CPU+GPU heterogeneous computing platform.The experimental results show that compared with the performance of the serial algorithm,multi-core CPU parallel algorithm and parallel algorithm based on Compute Unified Device Architecture(CUDA),the image gray-scale parallel algorithm obtains 27.04 times,4.96 times and 1.21 times speedup in the NVIDIA GPU computing platform under the OpenCL architecture respectively.The validity and performance portability of the proposed parallel optimization method are verified.
Keywords:image gray-scale  weighted average  Graphic Processing Unit(GPU)  Open Computing Language(OpenCL)  parallel algorithm
本文献已被 万方数据 等数据库收录!
点击此处可从《江西师范大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《江西师范大学学报(自然科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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